From: Yunhee Seo Date: Thu, 18 Apr 2024 08:26:48 +0000 (+0900) Subject: extcon: Apply hal-api-device-external_connection module HAL ABI versioning X-Git-Tag: accepted/tizen/unified/20240614.084923~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f29322ceb10a7cca43ce44648bc6f33d9ff8e2a8;p=platform%2Fcore%2Fsystem%2Fdeviced.git extcon: Apply hal-api-device-external_connection module HAL ABI versioning 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 --- diff --git a/src/extcon/extcon.c b/src/extcon/extcon.c index 0e81c73b..ad3a48a5 100644 --- a/src/extcon/extcon.c +++ b/src/extcon/extcon.c @@ -18,7 +18,7 @@ #include -#include +#include #include #include @@ -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; diff --git a/src/extcon/extcon.h b/src/extcon/extcon.h index 460a3841..796c6519 100644 --- a/src/extcon/extcon.h +++ b/src/extcon/extcon.h @@ -22,7 +22,7 @@ #include "shared/common.h" #include -#include +#include /** * Extcon cable name is shared with kernel extcon class.