From: Geert Uytterhoeven Date: Tue, 30 Apr 2019 09:28:32 +0000 (+0200) Subject: mlxsw: Remove obsolete dependency on THERMAL=m X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=980d43f24d59491aa1c5552171454ac25fb86ea2;p=linux.git mlxsw: Remove obsolete dependency on THERMAL=m 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 Acked-by: Daniel Lezcano Reviewed-by: Ido Schimmel Reviewed-by: Krzysztof Kozlowski Signed-off-by: Zhang Rui --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig index 9c195dfed0313..9050aa5f5f528 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig @@ -21,7 +21,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