thermal: add missing Kconfig dependency
PATCH 7/8 thermal: add missing Kconfig dependency
From: "Jan Beulich" <[email protected]>
Otherwise THERMAL_HWMON can be selected when HWMON=n and THERMAL=n, which fails to build.
Signed-off-by Jan Beulich <[email protected]>
Cc Zhang Rui <[email protected]>
Cc Matthew Garrett <[email protected]>
Cc Len Brown <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/thermal/Kconfig renamed from drivers/thermal/Kconfig~thermal-add-missing-kconfig-dependency +1 -0
@@ -15,6 +15,7 @@ menuconfig THERMAL config THERMAL_HWMON bool "Hardware monitoring support" + depends on THERMAL depends on HWMON=y || HWMON=THERMAL help The generic thermal sysfs driver's hardware monitoring support
_
applied
thanks,
Len Brown, Intel Open Source Technology Center