extcon: Apply hal-api-device-external_connection module HAL ABI versioning 46/309946/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 18 Apr 2024 08:26:48 +0000 (17:26 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 18 Apr 2024 08:32:37 +0000 (17:32 +0900)
As HAL ABI versioning is applied to hal-api-device-external_connection module,
inclusion path and data types are changed.

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

index 0e81c73b4661fae3511feb4515a0d5e672bcceff..ad3a48a54c910773df9cb48b2bc083da352e9235 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #include <stdio.h>
-#include <hal/hal-external_connection.h>
+#include <hal/hal-device-external_connection.h>
 #include <libsyscommon/libgdbus.h>
 #include <libsyscommon/ini-parser.h>
 
@@ -377,7 +377,7 @@ static const dbus_interface_u dbus_interface = {
 
 
 /* used by HAL */
-static void extcon_changed(struct connection_info *info, void *data)
+static void extcon_changed(hal_device_external_connection_info_s *info, void *data)
 {
        if (!info)
                return;
index 460a384105eec034065fecf51c5d8049e3827769..796c651919f7c02f1c6da901594ee10b68375b61 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "shared/common.h"
 #include <libsyscommon/list.h>
-#include <hal/hal-external_connection.h>
+#include <hal/hal-device-external_connection.h>
 
 /**
  * Extcon cable name is shared with kernel extcon class.