Browse Source

Fix a build error.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Eduardo Valentin 13 years ago
parent
commit
a7a3b8c86f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      drivers/staging/omap-thermal/omap-thermal-common.c

+ 3 - 1
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 */