iwlwifi: make LED support optional
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Apr 2014 14:31:08 +0000 (16:31 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 6 May 2014 17:40:05 +0000 (20:40 +0300)
commitc43e93300a23545ba4a6fc73c42f20edf23a652e
treec97c017f4589f714c64671c4f8d2b2437e39c4a2
parentbb926924e9dc515e83a6a69e9b8b226638b9178d
iwlwifi: make LED support optional

If there's no LED on the system, it doesn't make a lot of sense
to include close to 4k of LED-related code (mostly in mac80211),
so instead of forcing LED support into the kernel, don't build
iwlwifi/mac80211 LED support if there's no LED class support.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: EliadX Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/iwlwifi/dvm/Makefile
drivers/net/wireless/iwlwifi/dvm/dev.h
drivers/net/wireless/iwlwifi/dvm/led.h
drivers/net/wireless/iwlwifi/mvm/Makefile
drivers/net/wireless/iwlwifi/mvm/mvm.h