aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2012-08-22 20:37:59 -0400
committerZhang Rui <rui.zhang@intel.com>2012-09-24 02:44:38 -0400
commita7a3b8c86f9fb8e8d13fb51a4a8b68166893b9b5 (patch)
treeb621d90b3975e673d6ae4d49f585d753f5ba002b
parent204dd1d39c32f39a95bf7a7248f63b372fd137a6 (diff)
Fix a build error.
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r--drivers/staging/omap-thermal/omap-thermal-common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c
index d543d5c3715..b4cd6ccf4e2 100644
--- a/drivers/staging/omap-thermal/omap-thermal-common.c
+++ b/drivers/staging/omap-thermal/omap-thermal-common.c
@@ -120,7 +120,9 @@ static int omap_thermal_bind(struct thermal_zone_device *thermal,
120 120
121 /* TODO: bind with min and max states */ 121 /* TODO: bind with min and max states */
122 /* Simple thing, two trips, one passive another critical */ 122 /* Simple thing, two trips, one passive another critical */
123 return thermal_zone_bind_cooling_device(thermal, 0, cdev); 123 return thermal_zone_bind_cooling_device(thermal, 0, cdev,
124 THERMAL_NO_LIMIT,
125 THERMAL_NO_LIMIT);
124} 126}
125 127
126/* Unbind callback functions for thermal zone */ 128/* Unbind callback functions for thermal zone */