]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
staging/wireless: don't build when NET etc. are not enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 6 Nov 2009 23:35:15 +0000 (15:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 20:23:48 +0000 (15:23 -0500)
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>
drivers/staging/arlan/Kconfig
drivers/staging/netwave/Kconfig
drivers/staging/wavelan/Kconfig

index 0585ed8b4d3eeb611d3eb77a3f2b2f29f1241226..5e42b81f97b03a437521013848760c6fa54899c7 100644 (file)
@@ -1,6 +1,6 @@
 config ARLAN
        tristate "Aironet Arlan 655 & IC2200 DS support"
-       depends on ISA && !64BIT
+       depends on ISA && !64BIT && WLAN
        select WIRELESS_EXT
        ---help---
          Aironet makes Arlan, a class of wireless LAN adapters. These use the
index c0c996c0550a4fdc608d99248695fb7ae25db2ce..8033e8171f9e2ac20ab883f1c80f0f905f61f4f5 100644 (file)
@@ -1,6 +1,6 @@
 config PCMCIA_NETWAVE
        tristate "Xircom Netwave AirSurfer Pcmcia wireless support"
-       depends on PCMCIA
+       depends on PCMCIA && WLAN
        select WIRELESS_EXT
        select WEXT_PRIV
        help
index 786060e025c0190931463a606cceecb418877306..af655668c2a7296d69e9484d2fd940ae85904aaa 100644 (file)
@@ -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