diff options
| author | Antonio Niño Díaz <antonio.ninodiaz@arm.com> | 2018-11-08 12:22:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-08 12:22:42 +0100 |
| commit | 9d068f66b15e644df4961b74b965323c20f21f14 (patch) | |
| tree | a10cbb4dba8a33d5a444ed37486f013f19eab635 /drivers/arm | |
| parent | f5ae1b0e098277a5b02a823a23f61577e53eadf2 (diff) | |
| parent | c3cf06f1a3a9b9ee8ac7a0ae505f95c45f7dca84 (diff) | |
Merge pull request #1673 from antonio-nino-diaz-arm/an/headers
Standardise header guards across codebase
Diffstat (limited to 'drivers/arm')
| -rw-r--r-- | drivers/arm/ccn/ccn_private.h | 6 | ||||
| -rw-r--r-- | drivers/arm/gic/common/gic_common_private.h | 6 | ||||
| -rw-r--r-- | drivers/arm/gic/v2/gicv2_private.h | 6 | ||||
| -rw-r--r-- | drivers/arm/gic/v3/gicv3_private.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/drivers/arm/ccn/ccn_private.h b/drivers/arm/ccn/ccn_private.h index c17c2742..8a936d97 100644 --- a/drivers/arm/ccn/ccn_private.h +++ b/drivers/arm/ccn/ccn_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __CCN_PRIVATE_H__ -#define __CCN_PRIVATE_H__ +#ifndef CCN_PRIVATE_H +#define CCN_PRIVATE_H /* * A CCN implementation can have a maximum of 64 Request nodes with node IDs @@ -230,4 +230,4 @@ static inline unsigned int count_set_bits(unsigned long long bitmap) #define CCN_GET_HN_NODEID_MAP(periphbase, mn_hn_id_reg_offset) \ ccn_reg_read(periphbase, MN_REGION_ID, mn_hn_id_reg_offset) -#endif /* __CCN_PRIVATE_H__ */ +#endif /* CCN_PRIVATE_H */ diff --git a/drivers/arm/gic/common/gic_common_private.h b/drivers/arm/gic/common/gic_common_private.h index fa34e477..9d9e8c7b 100644 --- a/drivers/arm/gic/common/gic_common_private.h +++ b/drivers/arm/gic/common/gic_common_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef GIC_COMMON_PRIVATE_H_ -#define GIC_COMMON_PRIVATE_H_ +#ifndef GIC_COMMON_PRIVATE_H +#define GIC_COMMON_PRIVATE_H #include <gic_common.h> #include <mmio.h> @@ -85,4 +85,4 @@ void gicd_set_icactiver(uintptr_t base, unsigned int id); void gicd_set_ipriorityr(uintptr_t base, unsigned int id, unsigned int pri); void gicd_set_icfgr(uintptr_t base, unsigned int id, unsigned int cfg); -#endif /* GIC_COMMON_PRIVATE_H_ */ +#endif /* GIC_COMMON_PRIVATE_H */ diff --git a/drivers/arm/gic/v2/gicv2_private.h b/drivers/arm/gic/v2/gicv2_private.h index 1eb6d9d5..ccfad78c 100644 --- a/drivers/arm/gic/v2/gicv2_private.h +++ b/drivers/arm/gic/v2/gicv2_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GICV2_PRIVATE_H__ -#define __GICV2_PRIVATE_H__ +#ifndef GICV2_PRIVATE_H +#define GICV2_PRIVATE_H #include <gicv2.h> #include <mmio.h> @@ -146,4 +146,4 @@ static inline void gicc_write_dir(uintptr_t base, unsigned int val) mmio_write_32(base + GICC_DIR, val); } -#endif /* __GICV2_PRIVATE_H__ */ +#endif /* GICV2_PRIVATE_H */ diff --git a/drivers/arm/gic/v3/gicv3_private.h b/drivers/arm/gic/v3/gicv3_private.h index 85231ad9..188e7116 100644 --- a/drivers/arm/gic/v3/gicv3_private.h +++ b/drivers/arm/gic/v3/gicv3_private.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GICV3_PRIVATE_H__ -#define __GICV3_PRIVATE_H__ +#ifndef GICV3_PRIVATE_H +#define GICV3_PRIVATE_H #include <assert.h> #include <gic_common.h> @@ -387,4 +387,4 @@ static inline void gits_wait_for_quiescent_bit(uintptr_t gits_base) } -#endif /* __GICV3_PRIVATE_H__ */ +#endif /* GICV3_PRIVATE_H */ |
