mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 18:44:22 +00:00
ARM platforms: Remove some duplicate declarations
The plat_arm_mmap variable is already declared in plat_arm.h, which is included from plat/arm/common/arm_common.c. Similarly, plat_arm.h declares the 'plat_arm_psci_pm_ops' variable, which does not need to be declared again in plat/arm/common/arm_pm.c. The duplication was not compliant with MISRA rule 8.5. Change-Id: Icc42547cc025023226b1078a7ec4f06d093364b7 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
This commit is contained in:
parent
6c77e74915
commit
ed8c3743ef
2 changed files with 0 additions and 5 deletions
|
@ -14,8 +14,6 @@
|
|||
#include <platform.h>
|
||||
#include <secure_partition.h>
|
||||
|
||||
extern const mmap_region_t plat_arm_mmap[];
|
||||
|
||||
/* Weak definitions may be overridden in specific ARM standard platform */
|
||||
#pragma weak plat_get_ns_image_entrypoint
|
||||
#pragma weak plat_arm_get_mmap
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
/* Allow ARM Standard platforms to override this function */
|
||||
#pragma weak plat_arm_psci_override_pm_ops
|
||||
|
||||
/* Standard ARM platforms are expected to export plat_arm_psci_pm_ops */
|
||||
extern plat_psci_ops_t plat_arm_psci_pm_ops;
|
||||
|
||||
#if ARM_RECOM_STATE_ID_ENC
|
||||
extern unsigned int arm_pm_idle_states[];
|
||||
#endif /* __ARM_RECOM_STATE_ID_ENC__ */
|
||||
|
|
Loading…
Add table
Reference in a new issue