diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-04-30 05:28:32 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2019-05-06 08:47:01 -0400 |
commit | 980d43f24d59491aa1c5552171454ac25fb86ea2 (patch) | |
tree | 43be1bf8ea11fb7f237f0198edd76bbeb5a69738 | |
parent | f37353320ee9905ef7aaba4c67eae85496bee950 (diff) |
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 <geert+renesas@glider.be>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig index 9c195dfed031..9050aa5f5f52 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig +++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig | |||
@@ -21,7 +21,6 @@ config MLXSW_CORE_HWMON | |||
21 | config MLXSW_CORE_THERMAL | 21 | config MLXSW_CORE_THERMAL |
22 | bool "Thermal zone support for Mellanox Technologies Switch ASICs" | 22 | bool "Thermal zone support for Mellanox Technologies Switch ASICs" |
23 | depends on MLXSW_CORE && THERMAL | 23 | depends on MLXSW_CORE && THERMAL |
24 | depends on !(MLXSW_CORE=y && THERMAL=m) | ||
25 | default y | 24 | default y |
26 | ---help--- | 25 | ---help--- |
27 | Say Y here if you want to automatically control fans speed according | 26 | Say Y here if you want to automatically control fans speed according |