Work in advance to apply HAL ABI versioning 19/309719/1
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 15 Apr 2024 08:40:30 +0000 (17:40 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 16 Apr 2024 02:25:52 +0000 (11:25 +0900)
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 <yuni.seo@samsung.com>
hw/battery/battery.c
hw/display/display.c
hw/external_connection/external_connection.c
hw/haptic/emulator.c
hw/memory/memory.c

index 820de095e2147f61ce881f5bab53acda47297e3d..b533eb71e72156e19c9a16158e4212320e7f2981 100644 (file)
@@ -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,
 };
index 6f728d0d3f40739a3c2e08561a8544f479fd69dc..05f4a5f23d07b67f6a6c2853eda71c64480c71f6 100644 (file)
@@ -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,
index 4c205df3febe94f2cb9496a0ae5924681963b44c..b995865b2020aa9f38c8d83ea34e1abf8de7e392 100644 (file)
@@ -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,
 };
index 09f4af750053140a2fc191f28070a023363426a7..127305d485397778b22c4b83c878acfe96a57614 100644 (file)
@@ -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,
index c0c4b6d38f42fd69b9d3ea4b396d15b5fc64cfd6..f7be3c5f15e33fe60ca53360d402d5f7c710f8a4 100644 (file)
@@ -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,
 };