Skip to contentSkip to conversation

ath9k: turn off temporarily

PATCH New Ingo Molnar 1 participant 1 message Jan 2, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: turn off temporarily

Impact: fix build failure

ath9k fails to build:

drivers/built-in.o: In function `ath_detach':
main.c:(.text+0x16720b): undefined reference to rfkill_unregister' drivers/built-in.o: In function ath_rfkill_poll':
main.c:(.text+0x167801): undefined reference to rfkill_force_state' drivers/built-in.o: In function ath9k_start':
main.c:(.text+0x167f01): undefined reference to rfkill_register' main.c:(.text+0x167f11): undefined reference to rfkill_free' drivers/built-in.o: In function `ath_pci_probe':
main.c:(.text+0x169754): undefined reference to `rfkill_allocate'

when:

CONFIG_RFKILL=m
CONFIG_ATH9K=y

---
 drivers/net/wireless/ath9k/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/ath9k/Kconfig +2 -0
index c43bd32..b849a45 100644
@@ -1,6 +1,8 @@
 config ATH9K
 	tristate "Atheros 802.11n wireless cards support"
 	depends on PCI && MAC80211 && WLAN_80211
+	# build failures
+	depends on 0
 	select MAC80211_LEDS
 	select LEDS_CLASS
 	select NEW_LEDS