summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunhee Seo <yuni.seo@samsung.com>2024-04-15 17:34:06 +0900
committerYunhee Seo <yuni.seo@samsung.com>2024-04-15 17:34:06 +0900
commit5c0fa4bc187e4de307fd8fdfa78fba79e3eaa8ab (patch)
treea0ebb907fe0796e0336f43be8477f02765d1f65a
parent5429719a19f66501a98542a0b03f3c79255a6a4a (diff)
downloaddevice-c4-5c0fa4bc187e4de307fd8fdfa78fba79e3eaa8ab.tar.gz
device-c4-5c0fa4bc187e4de307fd8fdfa78fba79e3eaa8ab.tar.bz2
device-c4-5c0fa4bc187e4de307fd8fdfa78fba79e3eaa8ab.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: I9b71d6ddafb208656b5f0c039ad14620def17c35 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
-rw-r--r--hw/board/board.c1
-rw-r--r--hw/display/display.c1
-rw-r--r--hw/haptic/gpio.c1
-rw-r--r--hw/memory/memory.c3
-rw-r--r--hw/thermal/thermal.c3
-rw-r--r--hw/touchscreen/touchscreen.c3
6 files changed, 6 insertions, 6 deletions
diff --git a/hw/board/board.c b/hw/board/board.c
index 3451652..415d143 100644
--- a/hw/board/board.c
+++ b/hw/board/board.c
@@ -128,7 +128,6 @@ static int board_exit(void *data)
hal_backend EXPORT hal_backend_device_board_data = {
.name = "board",
.vendor = "C4",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = board_init,
.exit = board_exit,
.major_version = 1,
diff --git a/hw/display/display.c b/hw/display/display.c
index 3b58615..265d597 100644
--- a/hw/display/display.c
+++ b/hw/display/display.c
@@ -137,7 +137,6 @@ static int display_exit(void *data)
hal_backend EXPORT hal_backend_device_display_data = {
.name = "display",
.vendor = "C4",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = display_init,
.exit = display_exit,
.major_version = 1,
diff --git a/hw/haptic/gpio.c b/hw/haptic/gpio.c
index 7497bc9..cdcd7a3 100644
--- a/hw/haptic/gpio.c
+++ b/hw/haptic/gpio.c
@@ -349,7 +349,6 @@ static int haptic_exit(void *data)
hal_backend EXPORT hal_backend_device_haptic_data = {
.name = "haptic",
.vendor = "C4",
- .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 4591471..6261da2 100644
--- a/hw/memory/memory.c
+++ b/hw/memory/memory.c
@@ -108,7 +108,8 @@ static int memory_exit(void *data)
hal_backend EXPORT hal_backend_device_memory_data = {
.name = "memory",
.vendor = "C4",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = memory_init,
.exit = memory_exit,
+ .major_version = 1,
+ .minor_version = 0,
};
diff --git a/hw/thermal/thermal.c b/hw/thermal/thermal.c
index 6a4370d..7bb4976 100644
--- a/hw/thermal/thermal.c
+++ b/hw/thermal/thermal.c
@@ -143,7 +143,8 @@ static int thermal_exit(void *data)
hal_backend EXPORT hal_backend_device_thermal_data = {
.name = "thermal",
.vendor = "C4",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = thermal_init,
.exit = thermal_exit,
+ .major_version = 1,
+ .minor_version = 0,
};
diff --git a/hw/touchscreen/touchscreen.c b/hw/touchscreen/touchscreen.c
index d8a236a..1c022ad 100644
--- a/hw/touchscreen/touchscreen.c
+++ b/hw/touchscreen/touchscreen.c
@@ -116,7 +116,8 @@ static int touchscreen_exit(void *data)
hal_backend EXPORT hal_backend_device_touchscreen_data = {
.name = "touchscreen",
.vendor = "C4",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = touchscreen_init,
.exit = touchscreen_exit,
+ .major_version = 1,
+ .minor_version = 0,
};