Search Linux Wireless

[PATCH] drivers: net: wireless: Fix dependencies for IWM and WIMAX_IWMC3200_SDIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the following build warning:

warning: (IWM && WIMAX_IWMC3200_SDIO) selects IWMC3200TOP which has unmet direct dependencies (MISC_DEVICES && MMC && EXPERIMENTAL)

Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
---
 drivers/net/wimax/i2400m/Kconfig          |    4 ++--
 drivers/net/wireless/iwmc3200wifi/Kconfig |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wimax/i2400m/Kconfig b/drivers/net/wimax/i2400m/Kconfig
index 3f70338..98348a0 100644
--- a/drivers/net/wimax/i2400m/Kconfig
+++ b/drivers/net/wimax/i2400m/Kconfig
@@ -33,8 +33,8 @@ config WIMAX_I2400M_SDIO
 
 config WIMAX_IWMC3200_SDIO
 	bool "Intel Wireless Multicom WiMAX Connection 3200 over SDIO"
-	depends on WIMAX_I2400M_SDIO
-	select IWMC3200TOP
+	depends on WIMAX_I2400M_SDIO && MMC && EXPERIMENTAL
+	select IWMC3200TOP if MISC_DEVICES
 	help
 	  Select if you have a device based on the Intel Multicom WiMAX
           Connection 3200 over SDIO.
diff --git a/drivers/net/wireless/iwmc3200wifi/Kconfig b/drivers/net/wireless/iwmc3200wifi/Kconfig
index 03f998d..94b0c84 100644
--- a/drivers/net/wireless/iwmc3200wifi/Kconfig
+++ b/drivers/net/wireless/iwmc3200wifi/Kconfig
@@ -3,7 +3,7 @@ config IWM
 	depends on MMC && EXPERIMENTAL
 	depends on CFG80211
 	select FW_LOADER
-	select IWMC3200TOP
+	select IWMC3200TOP if MISC_DEVICES
 	help
 	  The Intel Wireless Multicomm 3200 hardware is a combo
 	  card with GPS, Bluetooth, WiMax and 802.11 radios. It
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux