Skip to content

Commit

Permalink
staging/wireless: don't build when NET etc. are not enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and John W. Linville committed Nov 11, 2009
1 parent 309e731 commit 6a6a5c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/arlan/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/netwave/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/wavelan/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6a6a5c7

Please sign in to comment.