From b67eed8ec19c334acd3935d224bd5dffc6c75fad Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Mon, 15 Jun 2015 12:46:52 -0700 Subject: 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 --- drivers/thermal/samsung/exynos_thermal_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3