OSDN Git Service

mlxsw: Remove obsolete dependency on THERMAL=m
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 30 Apr 2019 09:28:32 +0000 (11:28 +0200)
committerZhang Rui <rui.zhang@intel.com>
Mon, 6 May 2019 12:47:01 +0000 (20:47 +0800)
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>
drivers/net/ethernet/mellanox/mlxsw/Kconfig

index 9c195df..9050aa5 100644 (file)
@@ -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