aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2008-04-02 12:10:04 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-08 16:44:39 -0400
commit53f36d70f072403d9aef68b332b72eb8c559b4ae (patch)
tree8fb41b40d4c22ac0b2e652515320482d2cdac763
parenta0b484fee72fc18eb9145011a5edec922fafbc15 (diff)
iwlwifi/Kconfg: make IWLWIFI_LEDS invisible
Select IWLWIFI_LEDS automatically when either IWL3945_LEDS or IWL4965_LEDS is selected. This avoids potential misconfigurations which lead to build failures for iwl-led.c. Cc: Miles Lane <miles.lane@gmail.com> Cc: reinette.chatre@intel.com Signed-off-by: John w. Linville <linville@tuxdriver.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/Kconfig10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig
index 4a5c8c0d007d..bcaa61b7c563 100644
--- a/drivers/net/wireless/iwlwifi/Kconfig
+++ b/drivers/net/wireless/iwlwifi/Kconfig
@@ -3,11 +3,8 @@ config IWLCORE
3 depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL 3 depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
4 4
5config IWLWIFI_LEDS 5config IWLWIFI_LEDS
6 bool "Enable LEDS features in iwlwifi driver" 6 bool
7 depends on IWLCORE && MAC80211_LEDS && LEDS_CLASS 7 default n
8 ---help---
9 This option enables LEDS for the iwlwifi drivers
10
11 8
12config IWLCORE_RFKILL 9config IWLCORE_RFKILL
13 boolean "IWLWIFI RF kill support" 10 boolean "IWLWIFI RF kill support"
@@ -52,7 +49,8 @@ config IWL4965_HT
52 49
53config IWL4965_LEDS 50config IWL4965_LEDS
54 bool "Enable LEDS features in iwl4965 driver" 51 bool "Enable LEDS features in iwl4965 driver"
55 depends on IWL4965 && IWLWIFI_LEDS 52 depends on IWL4965 && MAC80211_LEDS && LEDS_CLASS
53 select IWLWIFI_LEDS
56 ---help--- 54 ---help---
57 This option enables LEDS for the iwlwifi drivers 55 This option enables LEDS for the iwlwifi drivers
58 56