Apply hal-api-device-thermal module HAL ABI versioning 94/309994/1
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 19 Apr 2024 04:17:22 +0000 (13:17 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 19 Apr 2024 04:24:45 +0000 (13:24 +0900)
As HAL ABI versioning is applied to hal-api-device-thermal module,
inclusion path and data definition is changed.

Change-Id: Ic55db29efd541e6729db2ec7b1798559933ef660
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/temperature.c

index 3fe70ee3ba1e0cd080a01b2946b6a0dc80eb4964..e038d107779a295809633ba14266bad3736fa38a 100644 (file)
@@ -22,7 +22,7 @@
 #include <glib.h>
 #include <system_info.h>
 #include <libsyscommon/libgdbus.h>
-#include <hal/hal-thermal.h>
+#include <hal/hal-device-thermal.h>
 
 #include "common.h"
 #include "temperature.h"
@@ -59,7 +59,7 @@ static int is_temperature_supported(device_thermal_e type)
 int device_thermal_get_temperature(device_thermal_e type, int *temp)
 {
        int ret_val;
-       struct thermal_info info;
+       hal_device_thermal_info_s info;
        hal_device_thermal_e haltype;
 
        if (!temp)