diff options
author | Kevin Hilman <khilman@linaro.org> | 2015-06-15 12:46:52 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-06-15 12:46:52 -0700 |
commit | b67eed8ec19c334acd3935d224bd5dffc6c75fad (patch) | |
tree | 437808219f9712f2999a7fced5fa8a9f9ff14e68 | |
parent | 5d8b90e4599fa70a0cc5cc4cb997ef1eb5a3d53c (diff) |
thermal: exynos: fix compile error in _zone_bind_cooling_device()
commit (6cd9e9f629f1 thermal: of: fix cooling device weights in device
tree) changed the prototype of thermal_zone_bind_cooling_device() but
did not fix up all the users. This patch fixes up the exynos driver.
LSK Note: This patch is LSK specific because the upstream version of
the driver was later removed after being migrated to of-thermal.
Signed-off-by: Kevin Hilman <khilman@linaro.org>
-rw-r--r-- | drivers/thermal/samsung/exynos_thermal_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/exynos_thermal_common.c b/drivers/thermal/samsung/exynos_thermal_common.c index 50a1f17c6221..7c97db1cf829 100644 --- a/drivers/thermal/samsung/exynos_thermal_common.c +++ b/drivers/thermal/samsung/exynos_thermal_common.c @@ -163,7 +163,7 @@ static int exynos_bind(struct thermal_zone_device *thermal, case MONITOR_ZONE: case WARN_ZONE: if (thermal_zone_bind_cooling_device(thermal, i, cdev, - level, 0)) { + level, 0, THERMAL_WEIGHT_DEFAULT)) { dev_err(data->dev, "error unbinding cdev inst=%d\n", i); ret = -EINVAL; |