diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-18 16:24:16 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-24 09:12:16 +0100 |
commit | 2bc3dba924058f92e22c3b75da7d987ecdf5875f (patch) | |
tree | 01d9a0c15f378757daa600f4a438784183697004 /include/plat | |
parent | 1083b2b315cd71f714eb0d0bca20e54ef7be02ad (diff) | |
download | platform_external_arm-trusted-firmware-2bc3dba924058f92e22c3b75da7d987ecdf5875f.tar.gz platform_external_arm-trusted-firmware-2bc3dba924058f92e22c3b75da7d987ecdf5875f.tar.bz2 platform_external_arm-trusted-firmware-2bc3dba924058f92e22c3b75da7d987ecdf5875f.zip |
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')
-rw-r--r-- | include/plat/common/platform.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index cd17a00f1..12eac60be 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 */ |