summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2021-08-02 14:34:20 +0900
committerYoungjae Cho <y0.cho@samsung.com>2021-08-02 14:34:20 +0900
commit1afe7b73e6350e371f9a10800eec888f29be09ac (patch)
treeb6cacc6fbda38a0b75f8220de2d29ef6f5c12933
parent9f6038781864032f0576310776b522bb5286e229 (diff)
downloaddevice-rpi-1afe7b73e6350e371f9a10800eec888f29be09ac.tar.gz
device-rpi-1afe7b73e6350e371f9a10800eec888f29be09ac.tar.bz2
device-rpi-1afe7b73e6350e371f9a10800eec888f29be09ac.zip
thermal: rename device_thermal_e to hal_device_thermal_esubmit/tizen/20210802.064402accepted/tizen/unified/20210804.085740
Change-Id: I57433638117491dfe64d4a2078ccc486697ebec8 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 903e7d2..1d9c22b 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;