浏览代码

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>
Jan Beulich 15 年之前
父节点
当前提交
df43176c93
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/thermal/Kconfig

+ 1 - 0
drivers/thermal/Kconfig

@@ -15,6 +15,7 @@ menuconfig THERMAL
 
 
 config THERMAL_HWMON
 config THERMAL_HWMON
 	bool "Hardware monitoring support"
 	bool "Hardware monitoring support"
+	depends on THERMAL
 	depends on HWMON=y || HWMON=THERMAL
 	depends on HWMON=y || HWMON=THERMAL
 	help
 	help
 	  The generic thermal sysfs driver's hardware monitoring support
 	  The generic thermal sysfs driver's hardware monitoring support