diff options
| author | Hyungwoo Yang <hyungwooy@nvidia.com> | 2012-12-17 14:58:35 -0500 |
|---|---|---|
| committer | Nicolin Chen <nicolinc@nvidia.com> | 2017-08-14 21:38:52 -0400 |
| commit | ddac309b0749be578488f33d070f42e6a37dfabc (patch) | |
| tree | 02b6b35aac64dc7ad3a8a73fd2c778181ffc5556 /include | |
| parent | 7b3c2f179e9a4847e834e79b45b69ffdf429fd14 (diff) | |
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 <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/172470
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/therm_est.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 { | |||
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| 33 | struct therm_est_data { | 33 | struct therm_est_data { |
| 34 | /* trip point info : there's only 1 trip point */ | ||
| 35 | char *cdev_type; /* cooling device for this trip */ | ||
| 36 | long trip_temp; | ||
| 37 | |||
| 38 | /* zone parameters */ | ||
| 34 | long toffset; | 39 | long toffset; |
| 35 | long polling_period; | 40 | long polling_period; |
| 36 | struct thermal_cooling_device *cdev; | ||
| 37 | long trip_temp; | ||
| 38 | int tc1; | ||
| 39 | int tc2; | ||
| 40 | int passive_delay; | 41 | int passive_delay; |
| 41 | int ndevs; | 42 | int ndevs; |
| 42 | struct therm_est_subdevice devs[]; | 43 | struct therm_est_subdevice devs[]; |
