hal-backend-power: Initialize major_version and minor_version of HAL_MODULE_POWER 32/312932/2 accepted/tizen/unified/20240618.195801 accepted/tizen/unified/dev/20240620.003315 accepted/tizen/unified/toolchain/20240624.121413 accepted/tizen/unified/x/20240619.013436 accepted/tizen/unified/x/asan/20240625.092242
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Jun 2024 10:33:38 +0000 (19:33 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Jun 2024 11:09:20 +0000 (20:09 +0900)
Initialize major_version and minor_version of HAL_MODULE_POWER
in order to support the new HAL API versioning method.

Change-Id: Iafe3030a1c21b4d2e1eda519a3e0b9f31c7c883d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/hal-backend-power.c

index e87b27f..776ba7e 100644 (file)
@@ -413,7 +413,8 @@ static int power_rpi4_exit(void *data)
 hal_backend hal_backend_power_data = {
        .name = "power-rpi4",
        .vendor = "Rasberry Pi",
-       .abi_version = HAL_ABI_VERSION_TIZEN_6_5,
        .init = power_rpi4_init,
        .exit = power_rpi4_exit,
+       .major_version = 1,
+       .minor_version = 0,
 };