Commit 53f36d70 authored by John W. Linville's avatar John W. Linville

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: default avatarJohn w. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a0b484fe
...@@ -3,11 +3,8 @@ config IWLCORE ...@@ -3,11 +3,8 @@ config IWLCORE
depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
config IWLWIFI_LEDS config IWLWIFI_LEDS
bool "Enable LEDS features in iwlwifi driver" bool
depends on IWLCORE && MAC80211_LEDS && LEDS_CLASS default n
---help---
This option enables LEDS for the iwlwifi drivers
config IWLCORE_RFKILL config IWLCORE_RFKILL
boolean "IWLWIFI RF kill support" boolean "IWLWIFI RF kill support"
...@@ -52,7 +49,8 @@ config IWL4965_HT ...@@ -52,7 +49,8 @@ config IWL4965_HT
config IWL4965_LEDS config IWL4965_LEDS
bool "Enable LEDS features in iwl4965 driver" bool "Enable LEDS features in iwl4965 driver"
depends on IWL4965 && IWLWIFI_LEDS depends on IWL4965 && MAC80211_LEDS && LEDS_CLASS
select IWLWIFI_LEDS
---help--- ---help---
This option enables LEDS for the iwlwifi drivers This option enables LEDS for the iwlwifi drivers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment