mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
fix(zynqmp): add external declaration
This corrects the MISRA violation C2012-8.4: A compatible declaration shall be visible when an object or function with external linkage is defined. Change-Id: I0e554972c24b70abd5b563639482f267cd4e1b5e Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
0a4cecadd7
commit
6c08d1df0c
4 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <lib/smccc.h>
|
||||
#include <lib/xlat_tables/xlat_tables_v2.h>
|
||||
#include <plat/common/platform.h>
|
||||
#include <plat_arm.h>
|
||||
#include <services/arm_arch_svc.h>
|
||||
|
||||
#include <plat_ipi.h>
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#include <common/debug.h>
|
||||
#include <smccc_helpers.h>
|
||||
|
||||
#include <custom_svc.h>
|
||||
|
||||
uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
|
||||
uint64_t x3, uint64_t x4, void *cookie,
|
||||
void *handle, uint64_t flags)
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
*/
|
||||
#include <stdint.h>
|
||||
|
||||
#include <plat/common/platform.h>
|
||||
|
||||
static const uint8_t plat_power_domain_tree_desc[] = {1, 4};
|
||||
|
||||
const uint8_t *plat_get_power_domain_tree_desc(void)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <plat_private.h>
|
||||
#include "pm_client.h"
|
||||
#include "pm_ipi.h"
|
||||
#include "pm_svc_main.h"
|
||||
#include "zynqmp_pm_api_sys.h"
|
||||
#include "zynqmp_pm_defs.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue