ath9k: Do not select MAC80211_LEDS by default
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 20 Aug 2020 19:40:49 +0000 (21:40 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Aug 2020 10:18:07 +0000 (13:18 +0300)
The ath9k driver hides all LEDs related code behind CONFIG_MAC80211_LEDS
ifdefs so it does not really require the MAC80211_LEDS.  The code builds
fine.  Convert the "select" into "imply" to allow disabling LED trigger
when not needed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200820194049.28055-1-krzk@kernel.org
drivers/net/wireless/ath/ath9k/Kconfig

index 5effb3886631a5e3b31c890519121f04836ab8f5..a84bb9b6573f8d559ddf6cba5444c7fb295dfb41 100644 (file)
@@ -22,10 +22,10 @@ config ATH9K
        tristate "Atheros 802.11n wireless cards support"
        depends on MAC80211 && HAS_DMA
        select ATH9K_HW
-       select MAC80211_LEDS
-       select LEDS_CLASS
-       select NEW_LEDS
        select ATH9K_COMMON
+       imply NEW_LEDS
+       imply LEDS_CLASS
+       imply MAC80211_LEDS
        help
          This module adds support for wireless adapters based on
          Atheros IEEE 802.11n AR5008, AR9001 and AR9002 family