diff options
Diffstat (limited to 'include/drivers/arm')
-rw-r--r-- | include/drivers/arm/arm_gicv3_common.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/cci.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/ccn.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/gic_common.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/gicv2.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/gicv3.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/nic_400.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/pl011.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/pl061_gpio.h | 6 | ||||
-rw-r--r-- | include/drivers/arm/smmu_v3.h | 8 | ||||
-rw-r--r-- | include/drivers/arm/sp804_delay_timer.h | 6 |
11 files changed, 34 insertions, 34 deletions
diff --git a/include/drivers/arm/arm_gicv3_common.h b/include/drivers/arm/arm_gicv3_common.h index 8970e3f414..b88b59fbf1 100644 --- a/include/drivers/arm/arm_gicv3_common.h +++ b/include/drivers/arm/arm_gicv3_common.h @@ -3,8 +3,8 @@ * * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __ARM_GICV3_COMMON_H__ -#define __ARM_GICV3_COMMON_H__ +#ifndef ARM_GICV3_COMMON_H +#define ARM_GICV3_COMMON_H /******************************************************************************* * GIC500/GIC600 Re-distributor interface registers & constants @@ -17,4 +17,4 @@ #define WAKER_SL_BIT (1U << WAKER_SL_SHIFT) #define WAKER_QSC_BIT (1U << WAKER_QSC_SHIFT) -#endif /* __ARM_GICV3_COMMON_H__ */ +#endif /* ARM_GICV3_COMMON_H */ diff --git a/include/drivers/arm/cci.h b/include/drivers/arm/cci.h index 41a3de257c..24b76dab8a 100644 --- a/include/drivers/arm/cci.h +++ b/include/drivers/arm/cci.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __CCI_H__ -#define __CCI_H__ +#ifndef CCI_H +#define CCI_H #include <utils_def.h> @@ -122,4 +122,4 @@ void cci_enable_snoop_dvm_reqs(unsigned int master_id); void cci_disable_snoop_dvm_reqs(unsigned int master_id); #endif /* __ASSEMBLY__ */ -#endif /* __CCI_H__ */ +#endif /* CCI_H */ diff --git a/include/drivers/arm/ccn.h b/include/drivers/arm/ccn.h index d74086775d..eba974d2f3 100644 --- a/include/drivers/arm/ccn.h +++ b/include/drivers/arm/ccn.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __CCN_H__ -#define __CCN_H__ +#ifndef CCN_H +#define CCN_H /* * This macro defines the maximum number of master interfaces that reside on @@ -93,4 +93,4 @@ unsigned int ccn_get_l3_run_mode(void); int ccn_get_part0_id(uintptr_t periphbase); #endif /* __ASSEMBLY__ */ -#endif /* __CCN_H__ */ +#endif /* CCN_H */ diff --git a/include/drivers/arm/gic_common.h b/include/drivers/arm/gic_common.h index 0ef114833c..2f5334f86f 100644 --- a/include/drivers/arm/gic_common.h +++ b/include/drivers/arm/gic_common.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GIC_COMMON_H__ -#define __GIC_COMMON_H__ +#ifndef GIC_COMMON_H +#define GIC_COMMON_H #include <utils_def.h> @@ -100,4 +100,4 @@ (GIC_HIGHEST_NS_PRIORITY << 16) | \ (GIC_HIGHEST_NS_PRIORITY << 24)) -#endif /* __GIC_COMMON_H__ */ +#endif /* GIC_COMMON_H */ diff --git a/include/drivers/arm/gicv2.h b/include/drivers/arm/gicv2.h index c80f80b69f..705077ce3d 100644 --- a/include/drivers/arm/gicv2.h +++ b/include/drivers/arm/gicv2.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GICV2_H__ -#define __GICV2_H__ +#ifndef GICV2_H +#define GICV2_H #include <gic_common.h> @@ -184,4 +184,4 @@ unsigned int gicv2_set_pmr(unsigned int mask); void gicv2_interrupt_set_cfg(unsigned int id, unsigned int cfg); #endif /* __ASSEMBLY__ */ -#endif /* __GICV2_H__ */ +#endif /* GICV2_H */ diff --git a/include/drivers/arm/gicv3.h b/include/drivers/arm/gicv3.h index 9c291eb3fd..c26f2975ab 100644 --- a/include/drivers/arm/gicv3.h +++ b/include/drivers/arm/gicv3.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __GICV3_H__ -#define __GICV3_H__ +#ifndef GICV3_H +#define GICV3_H /******************************************************************************* * GICv3 miscellaneous definitions @@ -405,4 +405,4 @@ void gicv3_clear_interrupt_pending(unsigned int id, unsigned int proc_num); unsigned int gicv3_set_pmr(unsigned int mask); #endif /* __ASSEMBLY__ */ -#endif /* __GICV3_H__ */ +#endif /* GICV3_H */ diff --git a/include/drivers/arm/nic_400.h b/include/drivers/arm/nic_400.h index 740f184d6f..bb749824d5 100644 --- a/include/drivers/arm/nic_400.h +++ b/include/drivers/arm/nic_400.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __NIC_400_H__ -#define __NIC_400_H__ +#ifndef NIC_400_H +#define NIC_400_H /* * Address of slave 'n' security setting in the NIC-400 address region @@ -13,4 +13,4 @@ */ #define NIC400_ADDR_CTRL_SECURITY_REG(n) (0x8 + (n) * 4) -#endif /* __NIC_400_H__ */ +#endif /* NIC_400_H */ diff --git a/include/drivers/arm/pl011.h b/include/drivers/arm/pl011.h index 137764d3ed..6216a61fc5 100644 --- a/include/drivers/arm/pl011.h +++ b/include/drivers/arm/pl011.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PL011_H__ -#define __PL011_H__ +#ifndef PL011_H +#define PL011_H #include <console.h> @@ -103,4 +103,4 @@ int console_pl011_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud, #endif /*__ASSEMBLY__*/ -#endif /* __PL011_H__ */ +#endif /* PL011_H */ diff --git a/include/drivers/arm/pl061_gpio.h b/include/drivers/arm/pl061_gpio.h index 971a23dab9..6c4a9f5a50 100644 --- a/include/drivers/arm/pl061_gpio.h +++ b/include/drivers/arm/pl061_gpio.h @@ -4,12 +4,12 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __PL061_GPIO_H__ -#define __PL061_GPIO_H__ +#ifndef PL061_GPIO_H +#define PL061_GPIO_H #include <gpio.h> void pl061_gpio_register(uintptr_t base_addr, int gpio_dev); void pl061_gpio_init(void); -#endif /* __PL061_GPIO_H__ */ +#endif /* PL061_GPIO_H */ diff --git a/include/drivers/arm/smmu_v3.h b/include/drivers/arm/smmu_v3.h index e3912e31d0..1b7ffb8db0 100644 --- a/include/drivers/arm/smmu_v3.h +++ b/include/drivers/arm/smmu_v3.h @@ -4,11 +4,11 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __SMMU_V3_H__ -#define __SMMU_V3_H__ +#ifndef SMMU_V3_H +#define SMMU_V3_H -#include <utils_def.h> #include <stdint.h> +#include <utils_def.h> /* SMMUv3 register offsets from device base */ #define SMMU_S_IDR1 U(0x8004) @@ -24,4 +24,4 @@ int smmuv3_init(uintptr_t smmu_base); -#endif /* __SMMU_V3_H__ */ +#endif /* SMMU_V3_H */ diff --git a/include/drivers/arm/sp804_delay_timer.h b/include/drivers/arm/sp804_delay_timer.h index 0cf168b6ed..8eb8715ae8 100644 --- a/include/drivers/arm/sp804_delay_timer.h +++ b/include/drivers/arm/sp804_delay_timer.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#ifndef __SP804_DELAY_TIMER_H__ -#define __SP804_DELAY_TIMER_H__ +#ifndef SP804_DELAY_TIMER_H +#define SP804_DELAY_TIMER_H #include <delay_timer.h> #include <stdint.h> @@ -25,4 +25,4 @@ void sp804_timer_ops_init(uintptr_t base_addr, const timer_ops_t *ops); sp804_timer_ops_init((base_addr), &sp804_timer_ops); \ } while (0) -#endif /* __SP804_DELAY_TIMER_H__ */ +#endif /* SP804_DELAY_TIMER_H */ |