diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2013-06-17 15:27:17 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-06-17 19:26:24 -0400 |
commit | b3ba020652d1659ce3c07314fabffbe124fe49dd (patch) | |
tree | 0e4e463de7f47288b6f231b5bd8a89068cfbaae9 /drivers/thermal/Kconfig | |
parent | 23be63f48d928cd5a21db58f73c731357e895250 (diff) |
thermal: fix x86_pkg_temp_thermal.c build and Kconfig
Fix build error in x86_pkg_temp_thermal.c. It requires that
X86_MCE & X86_THERMAL_VECTOR be enabled, so depend on the latter symbol,
since it depends on X86_MCE (indirectly).
Also, X86_PKG_TEMP_THERMAL is already inside an "if THERMAL" block,
so remove that duplicated dependency.
ERROR: "platform_thermal_package_rate_control" [drivers/thermal/x86_pkg_temp_thermal.ko] undefined!
ERROR: "platform_thermal_package_notify" [drivers/thermal/x86_pkg_temp_thermal.ko] undefined!
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 245831ccda3e..2ff5cb9bff87 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -171,8 +171,7 @@ config INTEL_POWERCLAMP | |||
171 | 171 | ||
172 | config X86_PKG_TEMP_THERMAL | 172 | config X86_PKG_TEMP_THERMAL |
173 | tristate "X86 package temperature thermal driver" | 173 | tristate "X86 package temperature thermal driver" |
174 | depends on THERMAL | 174 | depends on X86_THERMAL_VECTOR |
175 | depends on X86 | ||
176 | select THERMAL_GOV_USER_SPACE | 175 | select THERMAL_GOV_USER_SPACE |
177 | default m | 176 | default m |
178 | help | 177 | help |