summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunhee Seo <yuni.seo@samsung.com>2024-04-15 17:18:47 +0900
committerYunhee Seo <yuni.seo@samsung.com>2024-04-15 17:18:47 +0900
commitb82a82c5ce63fa35b53f5e9cb4e7558f804b2b85 (patch)
treecc51853bd223942b97ff9d6e56b1b3055cdc1357
parent4960c48c4a77ce0008ea5db394eb11923593c9f8 (diff)
downloaddevice-rpi-b82a82c5ce63fa35b53f5e9cb4e7558f804b2b85.tar.gz
device-rpi-b82a82c5ce63fa35b53f5e9cb4e7558f804b2b85.tar.bz2
device-rpi-b82a82c5ce63fa35b53f5e9cb4e7558f804b2b85.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: Ic665ad4881276ca4e0e87a8f352c884773133de9 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/led/led.c3
-rw-r--r--hw/memory/memory.c3
-rw-r--r--hw/thermal/thermal.c3
-rw-r--r--hw/touchscreen/touchscreen.c3
7 files changed, 8 insertions, 7 deletions
diff --git a/hw/board/board.c b/hw/board/board.c
index 92d5993..62dbede 100644
--- a/hw/board/board.c
+++ b/hw/board/board.c
@@ -319,7 +319,6 @@ static int board_exit(void *data)
hal_backend EXPORT hal_backend_device_board_data = {
.name = "board",
.vendor = "RPI",
- .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 615389f..d4bd4b1 100644
--- a/hw/display/display.c
+++ b/hw/display/display.c
@@ -130,7 +130,6 @@ static int display_exit(void *data)
hal_backend EXPORT hal_backend_device_display_data = {
.name = "display",
.vendor = "RPI",
- .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 e619c23..488f140 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 = "RPI",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = haptic_init,
.exit = haptic_exit,
.major_version = 1,
diff --git a/hw/led/led.c b/hw/led/led.c
index 493b5cb..b52aa98 100644
--- a/hw/led/led.c
+++ b/hw/led/led.c
@@ -379,7 +379,8 @@ static int led_exit(void *data)
hal_backend EXPORT hal_backend_device_led_data = {
.name = "led",
.vendor = "RPI",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = led_init,
.exit = led_exit,
+ .major_version = 1,
+ .minor_version = 0,
};
diff --git a/hw/memory/memory.c b/hw/memory/memory.c
index dd2d832..0184775 100644
--- a/hw/memory/memory.c
+++ b/hw/memory/memory.c
@@ -112,7 +112,8 @@ static int memory_exit(void *data)
hal_backend EXPORT hal_backend_device_memory_data = {
.name = "memory",
.vendor = "RPI",
- .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 37b72fc..c98b665 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 = "RPI",
- .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 d80d6f1..27cb139 100644
--- a/hw/touchscreen/touchscreen.c
+++ b/hw/touchscreen/touchscreen.c
@@ -125,7 +125,8 @@ static int touchscreen_exit(void *data)
hal_backend EXPORT hal_backend_device_touchscreen_data = {
.name = "touchscreen",
.vendor = "RPI",
- .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
.init = touchscreen_init,
.exit = touchscreen_exit,
+ .major_version = 1,
+ .minor_version = 0,
};