summaryrefslogtreecommitdiff
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2015-06-11 10:55:42 +0800
committerZhang Rui <rui.zhang@intel.com>2015-06-11 10:55:42 +0800
commit53daf9383f34d7bf61358a37449fb4d59fbdafc2 (patch)
treefc48ebe4fbf8e6c48cc07fcdab82a6010f7c61cf /drivers/platform/x86
parente26081808edadfd257c6c9d81014e3b25e9a6118 (diff)
parent9a5238a9c6c33dd31525f2bba4aa1af4f8374ae1 (diff)
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal into thermal-soc
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/acerhdf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c
index 594c918b553d..1ef02daddb60 100644
--- a/drivers/platform/x86/acerhdf.c
+++ b/drivers/platform/x86/acerhdf.c
@@ -372,7 +372,8 @@ static int acerhdf_bind(struct thermal_zone_device *thermal,
return 0;
if (thermal_zone_bind_cooling_device(thermal, 0, cdev,
- THERMAL_NO_LIMIT, THERMAL_NO_LIMIT)) {
+ THERMAL_NO_LIMIT, THERMAL_NO_LIMIT,
+ THERMAL_WEIGHT_DEFAULT)) {
pr_err("error binding cooling dev\n");
return -EINVAL;
}