diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-08 10:20:19 +0000 |
commit | c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84 (patch) | |
tree | a10cbb4dba8a33d5a444ed37486f013f19eab635 /include/bl32/tsp | |
parent | f5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff) | |
download | platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.tar.gz platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.tar.bz2 platform_external_arm-trusted-firmware-c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84.zip |
Standardise header guards across codebase
All identifiers, regardless of use, that start with two underscores are
reserved. This means they can't be used in header guards.
The style that this project is now to use the full name of the file in
capital letters followed by 'H'. For example, for a file called
"uart_example.h", the header guard is UART_EXAMPLE_H.
The exceptions are files that are imported from other projects:
- CryptoCell driver
- dt-bindings folders
- zlib headers
Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include/bl32/tsp')
-rw-r--r-- | include/bl32/tsp/platform_tsp.h | 9 | ||||
-rw-r--r-- | include/bl32/tsp/tsp.h | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/include/bl32/tsp/platform_tsp.h b/include/bl32/tsp/platform_tsp.h index a5a0223c8..fe8a2c933 100644 --- a/include/bl32/tsp/platform_tsp.h +++ b/include/bl32/tsp/platform_tsp.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PLATFORM_TSP_H__ - +#ifndef PLATFORM_TSP_H +#define PLATFORM_TSP_H /******************************************************************************* * Mandatory TSP functions (only if platform contains a TSP) @@ -14,7 +14,4 @@ void tsp_early_platform_setup(void); void tsp_plat_arch_setup(void); void tsp_platform_setup(void); - -#define __PLATFORM_H__ - -#endif +#endif /* PLATFORM_TSP_H */ diff --git a/include/bl32/tsp/tsp.h b/include/bl32/tsp/tsp.h index 43bba8f5e..ed4792e58 100644 --- a/include/bl32/tsp/tsp.h +++ b/include/bl32/tsp/tsp.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __TSP_H__ -#define __TSP_H__ +#ifndef TSP_H +#define TSP_H /* * SMC function IDs that TSP uses to signal various forms of completions @@ -107,4 +107,4 @@ typedef struct tsp_vectors { #endif /* __ASSEMBLY__ */ -#endif /* __TSP_H__ */ +#endif /* TSP_H */ |