summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wavelan
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-06 15:35:15 -0800
committerJohn W. Linville <linville@tuxdriver.com>2009-11-11 15:23:48 -0500
commit6a6a5c7af130e703c23d23ebe3cde23e079e554e (patch)
tree4a0902bf198530221b6117e71cb0650e9ac400d3 /drivers/staging/wavelan
parent309e731a619bee28ace609b0c4c3a0029b7e5394 (diff)
downloadblackbird-op-linux-6a6a5c7af130e703c23d23ebe3cde23e079e554e.tar.gz
blackbird-op-linux-6a6a5c7af130e703c23d23ebe3cde23e079e554e.zip
staging/wireless: don't build when NET etc. are not enabled
These wireless drivers in staging could be built when CONFIG_NET=n, CONFIG_NETDEVICES=n, causing this build error: net/wireless/wext-priv.c: In function 'ioctl_private_call': net/wireless/wext-priv.c:206: error: implicit declaration of function 'call_commit_handler' due to faulty selects. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/staging/wavelan')
-rw-r--r--drivers/staging/wavelan/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wavelan/Kconfig b/drivers/staging/wavelan/Kconfig
index 786060e025c0..af655668c2a7 100644
--- a/drivers/staging/wavelan/Kconfig
+++ b/drivers/staging/wavelan/Kconfig
@@ -1,6 +1,6 @@
config WAVELAN
tristate "AT&T/Lucent old WaveLAN & DEC RoamAbout DS ISA support"
- depends on ISA
+ depends on ISA && WLAN
select WIRELESS_EXT
select WEXT_SPY
select WEXT_PRIV
@@ -25,7 +25,7 @@ config WAVELAN
config PCMCIA_WAVELAN
tristate "AT&T/Lucent old WaveLAN Pcmcia wireless support"
- depends on PCMCIA
+ depends on PCMCIA && WLAN
select WIRELESS_EXT
select WEXT_SPY
select WEXT_PRIV
OpenPOWER on IntegriCloud