Skip to contentSkip to conversation

staging/rtl81*: build as loadable modules only

PATCH RESEND New Randy Dunlap 1 participant 1 message Mar 28, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 staging/rtl81*: build as loadable modules only

From: Randy Dunlap <[email protected]>

These 3 drivers contain much duplicated (triplicated) code, so building them as built-in results in many errors like:

(.text+0x1b160): multiple definition of `ieee80211_sta_ps_sleep'

Prevent this configuration by making them all buildable only as loadable modules (similar to the vt665[56] patch last week).

---
 drivers/staging/rtl8187se/Kconfig |    1 +
 drivers/staging/rtl8192e/Kconfig  |    1 +
 drivers/staging/rtl8192u/Kconfig  |    1 +
 3 files changed, 3 insertions(+)
drivers/staging/rtl8187se/Kconfig +1 -0
@@ -1,6 +1,7 @@
 config R8187SE
 	tristate "RealTek RTL8187SE Wireless LAN NIC driver"
 	depends on PCI && WLAN
+	depends on m
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select EEPROM_93CX6
drivers/staging/rtl8192e/Kconfig +1 -0
@@ -1,6 +1,7 @@
 config RTL8192E
 	tristate "RealTek RTL8192E Wireless LAN NIC driver"
 	depends on PCI && WLAN
+	depends on m
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select CRYPTO
drivers/staging/rtl8192u/Kconfig +1 -0
@@ -1,6 +1,7 @@
 config RTL8192U
 	tristate "RealTek RTL8192U Wireless LAN NIC driver"
 	depends on PCI && WLAN && USB
+	depends on m
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select CRYPTO