Commit 5e20b2e5 authored by Zhang Rui's avatar Zhang Rui

Thermal: fix a build warning when CONFIG_THERMAL_EMULATION cleared

Signed-off-by: default avatarZhang Rui <>
parent 475f41c3
......@@ -381,9 +381,12 @@ static void handle_thermal_trip(struct thermal_zone_device *tz, int trip)
static int thermal_zone_get_temp(struct thermal_zone_device *tz,
unsigned long *temp)
int ret = 0, count;
int ret = 0;
int count;
unsigned long crit_temp = -1UL;
enum thermal_trip_type type;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment