From: Jan Beulich Date: Fri, 18 Sep 2009 19:41:10 +0000 (-0700) Subject: thermal: add missing Kconfig dependency X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=df43176c934f2bc01f7615a6e20a4b8e77dcdd11;p=linux.git thermal: add missing Kconfig dependency Otherwise THERMAL_HWMON can be selected when HWMON=n and THERMAL=n, which fails to build. Signed-off-by: Jan Beulich Cc: Zhang Rui Cc: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a86e952ed4ca4..bf7c687519ef4 100644 --- a/drivers/thermal/Kconfig +++ b/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