summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2021-08-02 14:35:04 +0900
committerYoungjae Cho <y0.cho@samsung.com>2021-08-02 14:35:04 +0900
commitb3c607f42ad99eafcd4072196606e6d387919975 (patch)
tree2ffc9d9123207d35ff86c6b894d3679dfd2f4298
parent83c60629702179a3d930d89838b0f4574fc9cdbf (diff)
downloaddevice-c4-b3c607f42ad99eafcd4072196606e6d387919975.tar.gz
device-c4-b3c607f42ad99eafcd4072196606e6d387919975.tar.bz2
device-c4-b3c607f42ad99eafcd4072196606e6d387919975.zip
Change-Id: Iff79b89c0146e407bdf31ac4a6e3e2abd357f907 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--hw/thermal/thermal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/thermal/thermal.c b/hw/thermal/thermal.c
index 8470657..4db21f8 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;