Re: [PATCH -next] mlxsw: Remove obsolete dependency on THERMAL=m

From: Daniel Lezcano
Date: Tue Apr 30 2019 - 05:38:48 EST


On 30/04/2019 11:28, Geert Uytterhoeven wrote:
> The THERMAL configuration option was changed from tristate to bool, but
> a dependency on THERMAL=m was forgotten, leading to a warning when
> running "make savedefconfig":
>
> boolean symbol THERMAL tested for 'm'? test forced to 'n'
>
> Fixes: be33e4fbbea581ea ("thermal/drivers/core: Remove the module Kconfig's option")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Thanks!

Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

> ---
> drivers/net/ethernet/mellanox/mlxsw/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> index b6b3ff0fe17f5c4e..7ccb950aa7d4aa30 100644
> --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
> @@ -22,7 +22,6 @@ config MLXSW_CORE_HWMON
> config MLXSW_CORE_THERMAL
> bool "Thermal zone support for Mellanox Technologies Switch ASICs"
> depends on MLXSW_CORE && THERMAL
> - depends on !(MLXSW_CORE=y && THERMAL=m)
> default y
> ---help---
> Say Y here if you want to automatically control fans speed according
>


--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog