diff options
| -rw-r--r-- | drivers/power/qcom/msm-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/qcom/msm-core.c b/drivers/power/qcom/msm-core.c index 6198413e380f..daa842498d96 100644 --- a/drivers/power/qcom/msm-core.c +++ b/drivers/power/qcom/msm-core.c @@ -228,7 +228,7 @@ void trigger_cpu_pwr_stats_calc(void) int cpu; static long prev_temp[NR_CPUS]; struct cpu_activity_info *cpu_node; - long temp; + int temp; if (disabled) return; @@ -697,7 +697,7 @@ static int msm_core_tsens_init(struct device_node *node, int cpu) struct device_node *phandle; const char *sensor_type = NULL; struct cpu_activity_info *cpu_node = &activity[cpu]; - long temp; + int temp; if (!node) return -ENODEV; |
