Skip to content

Commit d5a8de0

Browse files
Andy3Kuoasus-leslieyu
authored andcommitted
wifi: update SDIO MODULE_DEVICE_TABLE
remove accept all sdio wlan id from rtl8189es/rtl8189fs/rtl8723bs/rtl8723cs/rtl8723ds driver Change-Id: I7455c833cc5110fa0949e945359c7ef1e7be5981
1 parent 8cf3a0c commit d5a8de0

6 files changed

Lines changed: 0 additions & 24 deletions

File tree

drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ static const struct sdio_device_id sdio_ids[] =
6868
#ifdef CONFIG_RTL8188F
6969
{SDIO_DEVICE(0x024c, 0xF179), .driver_data = RTL8188F},
7070
#endif
71-
72-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
73-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
74-
#endif
7571
{ /* end: all zeroes */ },
7672
};
7773

drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ static const struct sdio_device_id sdio_ids[] = {
9999
{SDIO_DEVICE(0x024c, 0xC822), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C},
100100
{SDIO_DEVICE(0x024c, 0xD821), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C}, /* 8821DS */
101101
#endif
102-
103-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
104-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
105-
#endif
106102
{ /* end: all zeroes */ },
107103
};
108104

drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ static const struct sdio_device_id sdio_ids[] = {
7979
{SDIO_DEVICE(0x024C, 0xB821), .driver_data = RTL8821C},
8080
{SDIO_DEVICE(0x024C, 0xC821), .driver_data = RTL8821C},
8181
#endif
82-
83-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
84-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
85-
#endif
8682
{ /* end: all zeroes */ },
8783
};
8884

drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ static const struct sdio_device_id sdio_ids[] = {
8484
{SDIO_DEVICE(0x024C, 0xB821), .driver_data = RTL8821C},
8585
{SDIO_DEVICE(0x024C, 0xC821), .driver_data = RTL8821C},
8686
#endif
87-
88-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
89-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
90-
#endif
9187
{ /* end: all zeroes */ },
9288
};
9389

drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ static const struct sdio_device_id sdio_ids[] = {
9696
{SDIO_DEVICE(0x024c, 0xC822), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C},
9797
{SDIO_DEVICE(0x024c, 0xD821), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C}, /* 8821DS */
9898
#endif
99-
100-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
101-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
102-
#endif
10399
{ /* end: all zeroes */ },
104100
};
105101

drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/sdio_intf.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ static const struct sdio_device_id sdio_ids[] = {
9797
{SDIO_DEVICE(0x024c, 0xC822), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C},
9898
{SDIO_DEVICE(0x024c, 0xD821), .class = SDIO_CLASS_WLAN, .driver_data = RTL8822C}, /* 8821DS */
9999
#endif
100-
101-
#if defined(RTW_ENABLE_WIFI_CONTROL_FUNC) /* temporarily add this to accept all sdio wlan id */
102-
{ SDIO_DEVICE_CLASS(SDIO_CLASS_WLAN) },
103-
#endif
104100
{ /* end: all zeroes */ },
105101
};
106102

0 commit comments

Comments
 (0)