From daa9b6ea641c841478b861b0fb459bc066233358 Mon Sep 17 00:00:00 2001 From: Madhukar Pappireddy Date: Mon, 6 Jan 2020 14:42:30 -0600 Subject: Simplify PMF helper macro definitions across header files In further patches, we aim to enable -Wredundant-decls by default. This rearragement of helper macros is necessary to make Coverity tool happy as well as making sure there are no redundant function declarations for PMF related declarations. Also, PMF related macros were added to provide appropriate function declarations for helper APIs which capture PSCI statistics. Change-Id: I36273032dde8fa079ef71235ed3a4629c5bfd981 Signed-off-by: Madhukar Pappireddy --- plat/common/plat_psci_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plat/common') diff --git a/plat/common/plat_psci_common.c b/plat/common/plat_psci_common.c index 16bec7972..a756d5e40 100644 --- a/plat/common/plat_psci_common.c +++ b/plat/common/plat_psci_common.c @@ -31,6 +31,8 @@ #define PSCI_STAT_ID_EXIT_LOW_PWR 1 #define PSCI_STAT_TOTAL_IDS 2 +PMF_DECLARE_CAPTURE_TIMESTAMP(psci_svc) +PMF_DECLARE_GET_TIMESTAMP(psci_svc) PMF_REGISTER_SERVICE(psci_svc, PMF_PSCI_STAT_SVC_ID, PSCI_STAT_TOTAL_IDS, PMF_STORE_ENABLE) -- cgit v1.2.3