浏览代码

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 年之前
父节点
当前提交
a7a3b8c86f
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 */