From: Chanwoo Choi Date: Wed, 15 Jan 2025 02:22:04 +0000 (+0900) Subject: Revert "Revert "halapi: common: Remove deprecated global variable and abi_version... X-Git-Tag: accepted/tizen/unified/x/20250117.125239^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8a78c8bcfcfdaf03eaaccc0938d7bf9185903d2;p=platform%2Fhal%2Fapi%2Fcommon.git Revert "Revert "halapi: common: Remove deprecated global variable and abi_version in hal_backend"" This reverts commit d2766e216b95a0e4fa7e2cab94ad408548ab9fbd. The variables related to 'abi_version' has not used anymore. Remove deprecated global variable and abi_version in hal_backend structure. Change-Id: I0ccf04a627feb859d50166e7562425a22ac360fd 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;