From: Yunhee Seo Date: Mon, 15 Apr 2024 08:40:30 +0000 (+0900) Subject: Work in advance to apply HAL ABI versioning X-Git-Tag: accepted/tizen/unified/20240614.085013~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a54447a6c25f8727fabd47314544b1b327ef41ec;p=platform%2Fhal%2Fbackend%2Femulator%2Fdevice-emulator.git Work in advance to apply HAL ABI versioning To apply HAL ABI versioning, major/minor_version is added. Also, as removed abi_version policy, abi_version variable is removed. Change-Id: If3254cd36c9594c686ad34f11974032cb968eb8b Signed-off-by: Yunhee Seo --- diff --git a/hw/battery/battery.c b/hw/battery/battery.c index 820de09..b533eb7 100644 --- a/hw/battery/battery.c +++ b/hw/battery/battery.c @@ -290,7 +290,8 @@ static int battery_exit(void *data) hal_backend EXPORT hal_backend_device_battery_data = { .name = "battery", .vendor = "EMUL", - .abi_version = HAL_ABI_VERSION_TIZEN_7_0, .init = battery_init, .exit = battery_exit, + .major_version = 1, + .minor_version = 0, }; diff --git a/hw/display/display.c b/hw/display/display.c index 6f728d0..05f4a5f 100644 --- a/hw/display/display.c +++ b/hw/display/display.c @@ -126,7 +126,6 @@ static int display_exit(void *data) hal_backend EXPORT hal_backend_device_display_data = { .name = "display", .vendor = "EMUL", - .abi_version = HAL_ABI_VERSION_TIZEN_7_0, .init = display_init, .exit = display_exit, .major_version = 1, diff --git a/hw/external_connection/external_connection.c b/hw/external_connection/external_connection.c index 4c205df..b995865 100644 --- a/hw/external_connection/external_connection.c +++ b/hw/external_connection/external_connection.c @@ -203,7 +203,8 @@ static int external_connection_exit(void *data) hal_backend EXPORT hal_backend_device_external_connection_data = { .name = "external-connection", .vendor = "EMUL", - .abi_version = HAL_ABI_VERSION_TIZEN_7_0, .init = external_connection_init, .exit = external_connection_exit, + .major_version = 1, + .minor_version = 0, }; diff --git a/hw/haptic/emulator.c b/hw/haptic/emulator.c index 09f4af7..127305d 100644 --- a/hw/haptic/emulator.c +++ b/hw/haptic/emulator.c @@ -162,7 +162,6 @@ static int haptic_exit(void *data) hal_backend EXPORT hal_backend_device_haptic_data = { .name = "haptic", .vendor = "EMUL", - .abi_version = HAL_ABI_VERSION_TIZEN_7_0, .init = haptic_init, .exit = haptic_exit, .major_version = 1, diff --git a/hw/memory/memory.c b/hw/memory/memory.c index c0c4b6d..f7be3c5 100644 --- a/hw/memory/memory.c +++ b/hw/memory/memory.c @@ -58,7 +58,8 @@ static int memory_exit(void *data) hal_backend EXPORT hal_backend_device_memory_data = { .name = "memory", .vendor = "EMUL", - .abi_version = HAL_ABI_VERSION_TIZEN_7_0, .init = memory_init, .exit = memory_exit, + .major_version = 1, + .minor_version = 0, };