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>
This commit is contained in:
parent
7d7decb213
commit
df43176c93
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue