From cf5ad70dbbdddb13f1e6c27aa1c6021df60e0028 Mon Sep 17 00:00:00 2001 From: Eduardo Valentin Date: Thu, 23 Aug 2012 08:37:59 +0800 Subject: [PATCH] --- yaml --- r: 334215 b: refs/heads/master c: a7a3b8c86f9fb8e8d13fb51a4a8b68166893b9b5 h: refs/heads/master i: 334213: 9f625513098d59dd31d75e8c0f5e7b62061c7cea 334211: cae136ed26099ebd99942d17a3d9739630196f99 334207: dca97206597ad2709e5a47360777cd699f52373c v: v3 --- [refs] | 2 +- trunk/drivers/staging/omap-thermal/omap-thermal-common.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index feb2b294c785..0376dc3c0629 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 204dd1d39c32f39a95bf7a7248f63b372fd137a6 +refs/heads/master: a7a3b8c86f9fb8e8d13fb51a4a8b68166893b9b5 diff --git a/trunk/drivers/staging/omap-thermal/omap-thermal-common.c b/trunk/drivers/staging/omap-thermal/omap-thermal-common.c index d543d5c37152..b4cd6ccf4e2d 100644 --- a/trunk/drivers/staging/omap-thermal/omap-thermal-common.c +++ b/trunk/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 */