From: Chanwoo Choi Date: Mon, 16 Dec 2024 04:20:41 +0000 (+0900) Subject: halapi: common: Remove deprecated global variable and abi_version in hal_backend X-Git-Tag: accepted/tizen/unified/20250115.124140~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=293201e2d65c5a44a830bcb2d9953e3057c3e60e;p=platform%2Fhal%2Fapi%2Fcommon.git halapi: common: Remove deprecated global variable and abi_version in hal_backend The variables related to 'abi_version' has not used anymore. Remove deprecated global variable and abi_version in hal_backend structure. Change-Id: I1a40fb01cd18d8b3fbbb45f712df3a4b8c786734 Signed-off-by: Chanwoo Choi --- diff --git a/include/hal-common-interface.h b/include/hal-common-interface.h index 7ced1b6..cb86770 100644 --- a/include/hal-common-interface.h +++ b/include/hal-common-interface.h @@ -23,28 +23,9 @@ extern "C" { #endif -enum hal_abi_version { - HAL_ABI_VERSION_UNKNOWN = 0, /* Deprecated */ - HAL_ABI_VERSION_TIZEN_6_5 = 1, /* Deprecated */ - HAL_ABI_VERSION_TIZEN_7_0 = 2, /* Deprecated */ - HAL_ABI_VERSION_TIZEN_7_5 = 3, /* Deprecated */ - HAL_ABI_VERSION_TIZEN_8_0 = 3, /* Deprecated */ - HAL_ABI_VERSION_TIZEN_9_0 = 4, /* Deprecated */ - HAL_ABI_VERSION_END, /* Deprecated */ -}; - -static const char *const hal_abi_version_str[] = { - [HAL_ABI_VERSION_UNKNOWN] = "Unknown HAL ABI Version", - [HAL_ABI_VERSION_TIZEN_6_5] = "HAL_ABI_VERSION_TIZEN_6_5", - [HAL_ABI_VERSION_TIZEN_7_0] = "HAL_ABI_VERSION_TIZEN_7_0", - [HAL_ABI_VERSION_TIZEN_8_0] = "HAL_ABI_VERSION_TIZEN_8_0", - [HAL_ABI_VERSION_TIZEN_9_0] = "HAL_ABI_VERSION_TIZEN_9_0", -}; - typedef struct __hal_backend { const char *name; const char *vendor; - const unsigned int abi_version; /* Deprecated */ int (*init) (void **data); int (*exit) (void *data); const unsigned int major_version; diff --git a/packaging/hal-api-common.spec b/packaging/hal-api-common.spec index 771d806..c82f497 100644 --- a/packaging/hal-api-common.spec +++ b/packaging/hal-api-common.spec @@ -10,7 +10,7 @@ ### main package ######### Name: %{name} Summary: %{name} interface -Version: 1.0.2 +Version: 1.0.3 Release: 2 Group: Development/Libraries License: Apache-2.0