diff --git a/soc/arm/arm/beetle/CMSDK_BEETLE.h b/soc/arm/arm/beetle/CMSDK_BEETLE.h index 043e8ec011a..3a5e8b7f39e 100644 --- a/soc/arm/arm/beetle/CMSDK_BEETLE.h +++ b/soc/arm/arm/beetle/CMSDK_BEETLE.h @@ -92,10 +92,10 @@ typedef enum IRQn #define __NVIC_PRIO_BITS 3 /* Number of Bits used for Priority Levels */ #define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */ -#include /* Processor and core peripherals */ - #ifdef __cplusplus } #endif +#include /* Processor and core peripherals */ + #endif /* CMSDK_BEETLE_H */ diff --git a/soc/arm/arm/musca_a/system_cmsdk_musca.h b/soc/arm/arm/musca_a/system_cmsdk_musca.h index d9d5ac77c28..ceb07e0ecf8 100644 --- a/soc/arm/arm/musca_a/system_cmsdk_musca.h +++ b/soc/arm/arm/musca_a/system_cmsdk_musca.h @@ -131,11 +131,10 @@ typedef enum IRQn { #define __FPU_PRESENT 0U /* no FPU present */ #define __DSP_PRESENT 0U /* no DSP extension present */ - -#include /*!< ARM Cortex-M33 processor and core peripherals */ - #ifdef __cplusplus } #endif +#include /*!< ARM Cortex-M33 processor and core peripherals */ + #endif /* SYSTEM_CMSDK_MUSCA_H */ diff --git a/soc/arm/arm/musca_b1/system_cmsdk_musca_b1.h b/soc/arm/arm/musca_b1/system_cmsdk_musca_b1.h index 91d4a14805a..4a102d713a3 100644 --- a/soc/arm/arm/musca_b1/system_cmsdk_musca_b1.h +++ b/soc/arm/arm/musca_b1/system_cmsdk_musca_b1.h @@ -131,11 +131,10 @@ typedef enum IRQn { #define __FPU_PRESENT 0U /* no FPU present */ #define __DSP_PRESENT 0U /* no DSP extension present */ - -#include /*!< ARM Cortex-M33 processor and core peripherals */ - #ifdef __cplusplus } #endif +#include /*!< ARM Cortex-M33 processor and core peripherals */ + #endif /* SYSTEM_CMSDK_MUSCA_B1_H */