Skip to contentSkip to conversation

thermal: add missing Kconfig dependency

PATCH Applied [email protected] 2 participants 2 messages Sep 18, 2009 – Sep 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

 drivers/thermal/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/thermal/Kconfig renamed from drivers/thermal/Kconfig~thermal-add-missing-kconfig-dependency +1 -0
diff -puN drivers/thermal/Kconfig~thermal-add-missing-kconfig-dependency drivers/thermal/Kconfig
@@ -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

_

reviewer Applied
#1 lore raw

applied

thanks,
Len Brown, Intel Open Source Technology Center