diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-15 17:40:30 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-04-16 11:25:52 +0900 |
commit | a54447a6c25f8727fabd47314544b1b327ef41ec (patch) | |
tree | 0e8c0fc6112768a54d16ae58258700e452a659d8 | |
parent | 7dbf8b6ca210d5ad0de3d48f110a1618e38b815b (diff) | |
download | device-emulator-a54447a6c25f8727fabd47314544b1b327ef41ec.tar.gz device-emulator-a54447a6c25f8727fabd47314544b1b327ef41ec.tar.bz2 device-emulator-a54447a6c25f8727fabd47314544b1b327ef41ec.zip |
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 <yuni.seo@samsung.com>
-rw-r--r-- | hw/battery/battery.c | 3 | ||||
-rw-r--r-- | hw/display/display.c | 1 | ||||
-rw-r--r-- | hw/external_connection/external_connection.c | 3 | ||||
-rw-r--r-- | hw/haptic/emulator.c | 1 | ||||
-rw-r--r-- | hw/memory/memory.c | 3 |
5 files changed, 6 insertions, 5 deletions
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, }; |