diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/therm_est.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/therm_est.h b/include/linux/therm_est.h index 8877108af..f1ccbf0de 100644 --- a/include/linux/therm_est.h +++ b/include/linux/therm_est.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * include/linux/therm_est.h | 2 | * include/linux/therm_est.h |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2010-2012, NVIDIA Corporation. | 4 | * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. |
| 5 | * | 5 | * |
| 6 | * This software is licensed under the terms of the GNU General Public | 6 | * This software is licensed under the terms of the GNU General Public |
| 7 | * License version 2, as published by the Free Software Foundation, and | 7 | * License version 2, as published by the Free Software Foundation, and |
| @@ -18,6 +18,8 @@ | |||
| 18 | #define _LINUX_THERM_EST_H | 18 | #define _LINUX_THERM_EST_H |
| 19 | 19 | ||
| 20 | #include <linux/workqueue.h> | 20 | #include <linux/workqueue.h> |
| 21 | #include <linux/thermal.h> | ||
| 22 | #include <linux/platform_data/thermal_sensors.h> | ||
| 21 | 23 | ||
| 22 | #define HIST_LEN (20) | 24 | #define HIST_LEN (20) |
| 23 | 25 | ||
| @@ -31,17 +33,18 @@ struct therm_est_subdevice { | |||
| 31 | }; | 33 | }; |
| 32 | 34 | ||
| 33 | struct therm_est_data { | 35 | struct therm_est_data { |
| 34 | /* trip point info : there's only 1 trip point */ | 36 | /* trip point info */ |
| 35 | char *cdev_type; /* cooling device for this trip */ | 37 | int num_trips; |
| 36 | long trip_temp; | 38 | struct thermal_trip_info *trips; |
| 37 | 39 | ||
| 38 | /* zone parameters */ | 40 | /* zone parameters */ |
| 41 | struct thermal_zone_params *tzp; | ||
| 39 | long toffset; | 42 | long toffset; |
| 40 | long polling_period; | 43 | long polling_period; |
| 41 | int passive_delay; | 44 | int passive_delay; |
| 42 | int ndevs; | ||
| 43 | int tc1; | 45 | int tc1; |
| 44 | int tc2; | 46 | int tc2; |
| 47 | int ndevs; | ||
| 45 | struct therm_est_subdevice devs[]; | 48 | struct therm_est_subdevice devs[]; |
| 46 | }; | 49 | }; |
| 47 | 50 | ||
