Skip to content

Commit

Permalink
thermal: add missing Kconfig dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Beulich authored and Len Brown committed Sep 19, 2009
1 parent 7d7decb commit df43176
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/thermal/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df43176

Please sign in to comment.