From 0646e13252f21f39a051a5d7311a2d5a111efda3 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Mon, 2 Aug 2021 14:33:32 +0900 Subject: [PATCH] thermal: rename device_thermal_e to hal_device_thermal_e Change-Id: I1c676693908b1ab87e090ef7c6e9d7df4fd83f3c Signed-off-by: Youngjae Cho --- hw/thermal/thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/thermal/thermal.c b/hw/thermal/thermal.c index 832a426..5a3f5f9 100644 --- a/hw/thermal/thermal.c +++ b/hw/thermal/thermal.c @@ -37,7 +37,7 @@ static struct event_data { static guint timer; -static int thermal_get_info(device_thermal_e type, struct thermal_info *info) +static int thermal_get_info(hal_device_thermal_e type, struct thermal_info *info) { FILE *fp; char buf[32]; @@ -72,7 +72,7 @@ static gboolean thermal_timeout(gpointer data) struct thermal_info info; int ret; - ret = thermal_get_info(DEVICE_THERMAL_AP, &info); + ret = thermal_get_info(HAL_DEVICE_THERMAL_AP, &info); if (ret < 0) { _E("Failed to read thermal info (%d)", ret); return G_SOURCE_CONTINUE; -- 2.34.1