merged to 5.10 (and the new 5.13 branches).

Bruce

In message: [linux-yocto][v5.10/standard/base][PATCH 1/1] iwlwifi: select 
MAC80211_LEDS conditionally
on 28/06/2021 Liwei Song wrote:

> MAC80211_LEDS depends on LEDS_CLASS=y or LEDS_CLASS=MAC80211,
> add condition to enable it in iwlwifi/Kconfig to avoid below
> compile warning when LEDS_CLASS was set to m:
> 
> WARNING: unmet direct dependencies detected for MAC80211_LEDS
>   Depends on [n]: NET [=y] && WIRELESS [=y] && MAC80211 [=y] && (LEDS_CLASS 
> [=m]=y || LEDS_CLASS [=m]=MAC80211 [=y])
>   Selected by [m]:
>   - IWLWIFI_LEDS [=y] && NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL 
> [=y] && IWLWIFI [=m] && (LEDS_CLASS [=m]=y || LEDS_CLASS [=m]=IWLWIFI [=m]) 
> && (IWLMVM [=m] || IWLDVM [=m])
> 
> Signed-off-by: Liwei Song <liwei.s...@windriver.com>
> ---
>  drivers/net/wireless/intel/iwlwifi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig 
> b/drivers/net/wireless/intel/iwlwifi/Kconfig
> index 1085afbefba8..0e1de69c259f 100644
> --- a/drivers/net/wireless/intel/iwlwifi/Kconfig
> +++ b/drivers/net/wireless/intel/iwlwifi/Kconfig
> @@ -50,7 +50,7 @@ config IWLWIFI_LEDS
>       depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
>       depends on IWLMVM || IWLDVM
>       select LEDS_TRIGGERS
> -     select MAC80211_LEDS
> +     select MAC80211_LEDS if (LEDS_CLASS=y || LEDS_CLASS=MAC80211)
>       default y
>  
>  config IWLDVM
> -- 
> 2.17.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10019): 
https://lists.yoctoproject.org/g/linux-yocto/message/10019
Mute This Topic: https://lists.yoctoproject.org/mt/83840752/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to