From: Eduardo Valentin Date: Thu, 23 Aug 2012 00:37:59 +0000 (+0800) Subject: Fix a build error. X-Git-Tag: next-20120911~78^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d98a0c63f3beeb6c581c9023ebdd130c44e459c7;p=karo-tx-linux.git Fix a build error. Signed-off-by: Zhang Rui Signed-off-by: Eduardo Valentin --- diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c index d543d5c37152..b4cd6ccf4e2d 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, /* TODO: bind with min and max states */ /* Simple thing, two trips, one passive another critical */ - return thermal_zone_bind_cooling_device(thermal, 0, cdev); + return thermal_zone_bind_cooling_device(thermal, 0, cdev, + THERMAL_NO_LIMIT, + THERMAL_NO_LIMIT); } /* Unbind callback functions for thermal zone */