Skip to content

Commit

Permalink
Fix nuttx coding style
Browse files Browse the repository at this point in the history
Correct forming guard names
  • Loading branch information
simbit18 authored and xiaoxiang781216 committed Sep 13, 2023
1 parent c178fa3 commit 50e6dcb
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/include/imx8/chip.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __ARCH_ARM64_INCLUDE_IMX8_CHIP_H__
#define __ARCH_ARM64_INCLUDE_IMX8_CHIP_H__
#ifndef __ARCH_ARM64_INCLUDE_IMX8_CHIP_H
#define __ARCH_ARM64_INCLUDE_IMX8_CHIP_H

/****************************************************************************
* Included Files
Expand Down
6 changes: 3 additions & 3 deletions arch/arm64/include/imx8/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
* only indirectly through nuttx/irq.h
*/

#ifndef __ARCH_ARM64_INCLUDE_IMX8_IRQ_H__
#define __ARCH_ARM64_INCLUDE_IMX8_IRQ_H__
#ifndef __ARCH_ARM64_INCLUDE_IMX8_IRQ_H
#define __ARCH_ARM64_INCLUDE_IMX8_IRQ_H

/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

#define NR_IRQS 512 /* Total number of interrupts */

#endif /* __ARCH_ARM64_INCLUDE_IMX8_IRQ_H__ */
#endif /* __ARCH_ARM64_INCLUDE_IMX8_IRQ_H */
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __BOARDS_ARM_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__
#define __BOARDS_ARM_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__
#ifndef __BOARDS_ARM_FVP_V8R_AARCH32_FVP_ARMV8R_AARCH32_SRC_FVP_ARMV8R_H
#define __BOARDS_ARM_FVP_V8R_AARCH32_FVP_ARMV8R_AARCH32_SRC_FVP_ARMV8R_H

/****************************************************************************
* Included Files
Expand All @@ -44,7 +44,7 @@
****************************************************************************/

/****************************************************************************
* Name: vdk_bringup
* Name: fvp_bringup
*
* Description:
* Bring up board features
Expand All @@ -56,4 +56,4 @@ int fvp_bringup(void);
#endif

#endif /* __ASSEMBLY__ */
#endif /* __BOARDS_ARM_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__ */
#endif /* __BOARDS_ARM_FVP_V8R_AARCH32_FVP_ARMV8R_AARCH32_SRC_FVP_ARMV8R_H */
6 changes: 3 additions & 3 deletions boards/arm64/fvp-v8r/fvp-armv8r/src/fvp-armv8r.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__
#define __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__
#ifndef __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H
#define __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H

/****************************************************************************
* Included Files
Expand Down Expand Up @@ -56,4 +56,4 @@ int fvp_bringup(void);
#endif

#endif /* __ASSEMBLY__ */
#endif /* __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H__ */
#endif /* __BOARDS_ARM64_VDK_ARMV8R_BASE_SRC_VDK_ARMV8R_H */
6 changes: 3 additions & 3 deletions boards/arm64/imx8/imx8qm-mek/include/board_memorymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __BOARDS_ARM_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H__
#define __BOARDS_ARM_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H__
#ifndef __BOARDS_ARM64_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H
#define __BOARDS_ARM64_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H

/****************************************************************************
* Included Files
Expand Down Expand Up @@ -56,4 +56,4 @@ extern "C"
#endif

#endif /* __ASSEMBLY__ */
#endif /* __BOARDS_ARM_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H__ */
#endif /* __BOARDS_ARM64_IMX8_IMX8QM_MEK_INCLUDE_BOARD_MEMORYMAP_H */
6 changes: 3 additions & 3 deletions boards/arm64/imx8/imx8qm-mek/src/imx8qm-mek.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
****************************************************************************/

#ifndef __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8_IMX8QM_MEK_H__
#define __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8_IMX8QM_MEK_H__
#ifndef __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8QM_MEK_H
#define __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8QM_MEK_H

/****************************************************************************
* Included Files
Expand Down Expand Up @@ -56,4 +56,4 @@ int imx8_bringup(void);
#endif

#endif /* __ASSEMBLY__ */
#endif /* __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8_IMX8QM_MEK_H__ */
#endif /* __BOARDS_ARM64_IMX8_IMX8QM_MEK_SRC_IMX8QM_MEK_H */

0 comments on commit 50e6dcb

Please sign in to comment.