aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/acerhdf.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-06-29 10:37:23 -0700
committerKevin Hilman <khilman@linaro.org>2015-06-29 10:37:23 -0700
commit590e935df0c94b2d7a4584bb26906666176a6133 (patch)
treebb004c31d277423c7eb0f6bd2c0c1e9d8428e9f2 /drivers/platform/x86/acerhdf.c
parent774b195c03ac44c0dbc4e81a3f194779692ce3bd (diff)
parent91760bceff1f3f5860ff49c14194567f972352e6 (diff)
Diffstat (limited to 'drivers/platform/x86/acerhdf.c')
-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 f94467c05225..7f21f75baa59 100644
--- a/drivers/platform/x86/acerhdf.c
+++ b/drivers/platform/x86/acerhdf.c
@@ -330,7 +330,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;
}