Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af7c603e authored by Johannes Berg's avatar Johannes Berg Committed by Emmanuel Grumbach
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 4c9706dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ config IWLWIFI
config IWLWIFI_LEDS
config IWLWIFI_LEDS
	bool
	bool
	depends on IWLWIFI
	depends on IWLWIFI
	depends on LEDS_CLASS
	depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
	select LEDS_TRIGGERS
	select LEDS_TRIGGERS
	select MAC80211_LEDS
	select MAC80211_LEDS
	default y
	default y