diff options
author | Jan Beulich <JBeulich@novell.com> | 2009-09-18 15:41:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 01:41:49 -0400 |
commit | df43176c934f2bc01f7615a6e20a4b8e77dcdd11 (patch) | |
tree | f613e2cdae764215727c0247192fdce143ca475d /drivers/thermal/Kconfig | |
parent | 7d7decb213a65dea0973ed980c02dae2b1b88dbe (diff) |
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 <jbeulich@novell.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a86e952ed4ca..bf7c687519ef 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -15,6 +15,7 @@ menuconfig THERMAL | |||
15 | 15 | ||
16 | config THERMAL_HWMON | 16 | config THERMAL_HWMON |
17 | bool "Hardware monitoring support" | 17 | bool "Hardware monitoring support" |
18 | depends on THERMAL | ||
18 | depends on HWMON=y || HWMON=THERMAL | 19 | depends on HWMON=y || HWMON=THERMAL |
19 | help | 20 | help |
20 | The generic thermal sysfs driver's hardware monitoring support | 21 | The generic thermal sysfs driver's hardware monitoring support |