From: Eduardo Valentin Date: Thu, 23 Aug 2012 00:37:59 +0000 (+0800) Subject: Fix a build error. X-Git-Tag: v3.7-rc1~12^2^3^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7a3b8c86f9fb8e8d13fb51a4a8b68166893b9b5;p=thirdparty%2Fkernel%2Flinux.git Fix a build error. Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c index d543d5c371528..b4cd6ccf4e2df 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 */