Commit df43176c934f2bc01f7615a6e20a4b8e77dcdd11

Authored by Jan Beulich
Committed by Len Brown
1 parent 7d7decb213

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/thermal/Kconfig
... ... @@ -15,6 +15,7 @@
15 15  
16 16 config THERMAL_HWMON
17 17 bool "Hardware monitoring support"
  18 + depends on THERMAL
18 19 depends on HWMON=y || HWMON=THERMAL
19 20 help
20 21 The generic thermal sysfs driver's hardware monitoring support