aboutsummaryrefslogtreecommitdiff
path: root/include/plat/common/platform.h
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-07-18 16:24:16 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-07-24 09:12:16 +0100
commit2bc3dba924058f92e22c3b75da7d987ecdf5875f (patch)
tree01d9a0c15f378757daa600f4a438784183697004 /include/plat/common/platform.h
parent1083b2b315cd71f714eb0d0bca20e54ef7be02ad (diff)
downloadtrusted-firmware-a-2bc3dba924058f92e22c3b75da7d987ecdf5875f.tar.gz
PSCI: Fix MISRA defects in platform code
Fix violations of MISRA C-2012 Rules 10.1, 10.3, 13.3, 14.4, 17.7 and 17.8. Change-Id: I6c9725e428b5752f1d80684ec29cb6c52a5c0c2d Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r--include/plat/common/platform.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index cd17a00f1d..12eac60bea 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#ifndef __PLATFORM_H__
-#define __PLATFORM_H__
+#ifndef PLATFORM_H
+#define PLATFORM_H
#include <psci.h>
#include <stdint.h>
@@ -401,5 +401,4 @@ unsigned int platform_get_core_pos(unsigned long mpidr) __deprecated;
#endif /* __ENABLE_PLAT_COMPAT__ */
-#endif /* __PLATFORM_H__ */
-
+#endif /* PLATFORM_H */