[PATCH] thermal: add missing Kconfig dependency

From: Jan Beulich
Date: Fri Sep 04 2009 - 04:06:22 EST


Otherwise THERMAL_HWMON can be selected when HWMON=n and THERMAL=n,
which fails to build.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
drivers/thermal/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.31-rc8/drivers/thermal/Kconfig 2008-07-13 23:51:29.000000000 +0200
+++ 2.6.31-rc8-thermal-dependency/drivers/thermal/Kconfig 2009-09-02 12:13:01.000000000 +0200
@@ -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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/