Skip to content

Commit

Permalink
Fix a build error.
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
  • Loading branch information
Eduardo Valentin authored and zhang-rui committed Sep 24, 2012
1 parent 204dd1d commit a7a3b8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/staging/omap-thermal/omap-thermal-common.c
Expand Up @@ -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 */
Expand Down

0 comments on commit a7a3b8c

Please sign in to comment.