Permalink
Browse files

Fix a build error.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information...
1 parent 204dd1d commit a7a3b8c86f9fb8e8d13fb51a4a8b68166893b9b5 Eduardo Valentin committed with zhang-rui Aug 23, 2012
Showing with 3 additions and 1 deletion.
  1. +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 */

0 comments on commit a7a3b8c

Please sign in to comment.