diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-05-13 15:25:28 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-05-15 19:56:18 +0300 |
commit | af7c603eb476216f1c27d82b802f0ce879c54ab3 (patch) | |
tree | a5a208cee3d3e5f684da68938bbe1e4ffbbc6f1a /drivers/net/wireless/iwlwifi | |
parent | 4c9706dc2f29b678b8b48ddf900854724a54cd63 (diff) | |
download | linux-af7c603eb476216f1c27d82b802f0ce879c54ab3.tar.gz linux-af7c603eb476216f1c27d82b802f0ce879c54ab3.tar.bz2 linux-af7c603eb476216f1c27d82b802f0ce879c54ab3.zip |
iwlwifi: fix LED support Kconfig dependencies
If DVM or MVM are built-in but LEDS_CLASS isn't then the current
Kconfig will enable LED support and fail the build. Fix this by
making the LED support depend on LEDS_CLASS being built-in or,
if it is modular, only enabling it if iwlwifi also is.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index d216509d167e..7fd50428b934 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig @@ -42,7 +42,7 @@ config IWLWIFI config IWLWIFI_LEDS bool depends on IWLWIFI - depends on LEDS_CLASS + depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI select LEDS_TRIGGERS select MAC80211_LEDS default y |