summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/thermal/msm-tsens.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/thermal/msm-tsens.c b/drivers/thermal/msm-tsens.c
index a9358a807769..44c744272244 100644
--- a/drivers/thermal/msm-tsens.c
+++ b/drivers/thermal/msm-tsens.c
@@ -199,9 +199,9 @@ enum tsens_tm_trip_type {
#define TSENS_TM_WRITABLE_TRIPS_MASK ((1 << TSENS_TM_TRIP_NUM) - 1)
struct tsens_thrshld_state {
- enum thermal_trip_activation_mode high_th_state;
- enum thermal_trip_activation_mode low_th_state;
- enum thermal_trip_activation_mode crit_th_state;
+ int high_th_state;
+ int low_th_state;
+ int crit_th_state;
unsigned int high_adc_code;
unsigned int low_adc_code;
int high_temp;