diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:02:33 -0800 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:55:17 -0800 |
commit | 70ecb564fd9f9acee231631757ce17c19c66d610 (patch) | |
tree | eaa7267947162c8afcbd9d67836323ae63d551d4 /include/plat/common | |
parent | 70050dd10c7fd547fdfa82b9342570de34f1d841 (diff) |
Migrate __warn_deprecated -> __deprecated
Use the new __deprecated macro from the generic cdefs header and remove
the deprecated __warn_deprecated.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Diffstat (limited to 'include/plat/common')
-rw-r--r-- | include/plat/common/common_def.h | 7 | ||||
-rw-r--r-- | include/plat/common/platform.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/plat/common/common_def.h b/include/plat/common/common_def.h index 744c22eb..916720c5 100644 --- a/include/plat/common/common_def.h +++ b/include/plat/common/common_def.h @@ -70,13 +70,6 @@ #define MAKE_ULL(x) x #endif -/* - * Macros to wrap declarations of deprecated APIs within Trusted Firmware. - * The callers of these APIs will continue to compile with a warning as long - * as the build flag ERROR_DEPRECATED is zero. - */ -#define __warn_deprecated __attribute__ ((deprecated)) - #define BL2_IMAGE_DESC { \ .image_id = BL2_IMAGE_ID, \ .image_info.h.version = VERSION_1, \ diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index 687c2212..f37a80f3 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -273,7 +273,7 @@ unsigned int plat_get_aff_state(unsigned int, unsigned long); * haven't migrated to the new platform API to compile on platforms which * have the compatibility layer disabled. */ -unsigned int platform_get_core_pos(unsigned long mpidr) __warn_deprecated; +unsigned int platform_get_core_pos(unsigned long mpidr) __deprecated; #endif /* __ENABLE_PLAT_COMPAT__ */ #endif /* __PLATFORM_H__ */ |