From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: [PATCH 17/30] Fix a build error. Date: Tue, 9 Oct 2012 01:54:07 -0400 Message-ID: References: <1349762060-25334-1-git-send-email-lenb@kernel.org> Reply-To: Len Brown Return-path: In-Reply-To: <1349762060-25334-1-git-send-email-lenb@kernel.org> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org To: linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eduardo Valentin , Zhang Rui List-Id: linux-acpi@vger.kernel.org From: Eduardo Valentin Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- drivers/staging/omap-thermal/omap-thermal-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c index d543d5c..b4cd6cc 100644 --- a/drivers/staging/omap-thermal/omap-thermal-common.c +++ b/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 */ -- 1.8.0.rc1