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 /plat/qemu | |
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 'plat/qemu')
-rw-r--r-- | plat/qemu/include/plat_macros.S | 6 | ||||
-rw-r--r-- | plat/qemu/qemu_private.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plat/qemu/include/plat_macros.S b/plat/qemu/include/plat_macros.S index 93cded2b8..b6cdb0714 100644 --- a/plat/qemu/include/plat_macros.S +++ b/plat/qemu/include/plat_macros.S @@ -3,8 +3,8 @@ * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PLAT_MACROS_S__ -#define __PLAT_MACROS_S__ +#ifndef PLAT_MACROS_S +#define PLAT_MACROS_S #include <arm_macros.S> #include <platform_def.h> @@ -23,4 +23,4 @@ arm_print_gic_regs .endm -#endif /* __PLAT_MACROS_S__ */ +#endif /* PLAT_MACROS_S */ diff --git a/plat/qemu/qemu_private.h b/plat/qemu/qemu_private.h index 88b93da82..ab2bf1ba3 100644 --- a/plat/qemu/qemu_private.h +++ b/plat/qemu/qemu_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __QEMU_PRIVATE_H -#define __QEMU_PRIVATE_H +#ifndef QEMU_PRIVATE_H +#define QEMU_PRIVATE_H #include <stdint.h> @@ -35,4 +35,4 @@ int dt_add_psci_cpu_enable_methods(void *fdt); void qemu_console_init(void); -#endif /*__QEMU_PRIVATE_H*/ +#endif /* QEMU_PRIVATE_H */ |