thermal: Apply hal-api-device-thermal module HAL ABI versioning 92/309992/1
authorYunhee Seo <yuni.seo@samsung.com>
Fri, 19 Apr 2024 04:22:42 +0000 (13:22 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 19 Apr 2024 04:23:32 +0000 (13:23 +0900)
As HAL ABI versioning is applied to hal-api-device-thermal module,
inclusion path is changed.

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

index 5d7e08b4b86720b35bed862793a41fdcb26fac37..ba3164f20ccafec92c3f031a5313dedebc0d2311 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdio.h>
 #include <stdbool.h>
 
-#include <hal/hal-thermal.h>
+#include <hal/hal-device-thermal.h>
 #include <libsyscommon/libgdbus.h>
 
 #include "shared/apps.h"
@@ -51,7 +51,7 @@ static GVariant *dbus_get_temperature(GDBusConnection *conn,
        const gchar *sender, const gchar *path, const gchar *iface, const gchar *name,
        GVariant *param, GDBusMethodInvocation *invocation, gpointer user_data)
 {
-       struct thermal_info info;
+       hal_device_thermal_info_s info;
        int index, ret = 0;
 
        g_variant_get(param, "(i)", &index);