From: Jan Beulich Date: Fri, 18 Sep 2009 19:41:10 +0000 (-0700) Subject: thermal: add missing Kconfig dependency X-Git-Tag: v3.12-rc1~12849^2~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df43176c934f2bc01f7615a6e20a4b8e77dcdd11;p=kernel%2Fkernel-generic.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 a86e952..bf7c687 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