iwlwifi: fix LED support Kconfig dependencies
authorJohannes Berg <johannes.berg@intel.com>
Tue, 13 May 2014 13:25:28 +0000 (15:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 15 May 2014 16:56:18 +0000 (19:56 +0300)
commitaf7c603eb476216f1c27d82b802f0ce879c54ab3
treea5a208cee3d3e5f684da68938bbe1e4ffbbc6f1a
parent4c9706dc2f29b678b8b48ddf900854724a54cd63
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>
drivers/net/wireless/iwlwifi/Kconfig