From ddac309b0749be578488f33d070f42e6a37dfabc Mon Sep 17 00:00:00 2001 From: Hyungwoo Yang Date: Mon, 17 Dec 2012 11:58:35 -0800 Subject: drivers: misc: therm_est: support new thermal framework Modified thermal estimator to make it compatible with new thermal framework which is backported from kernel 3.7 Bug 1158323 Change-Id: Idad7c07f9da5f68e75d71f0031e4f80f107a22d9 Signed-off-by: Hyungwoo Yang Reviewed-on: http://git-master/r/172470 --- include/linux/therm_est.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/linux/therm_est.h b/include/linux/therm_est.h index 29bdf8ba6..8d48ed1db 100644 --- a/include/linux/therm_est.h +++ b/include/linux/therm_est.h @@ -31,12 +31,13 @@ struct therm_est_subdevice { }; struct therm_est_data { + /* trip point info : there's only 1 trip point */ + char *cdev_type; /* cooling device for this trip */ + long trip_temp; + + /* zone parameters */ long toffset; long polling_period; - struct thermal_cooling_device *cdev; - long trip_temp; - int tc1; - int tc2; int passive_delay; int ndevs; struct therm_est_subdevice devs[]; -- cgit v1.2.2