imx: fix header inclusion guards
authorAndre Przywara <andre.przywara@arm.com>
Mon, 15 May 2023 13:52:10 +0000 (14:52 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 14:11:46 +0000 (10:11 -0400)
It seems like the header inclusion guards for some IMX related headers
were misspelled or got out of sync.

Make the preprocessor symbols for the #ifndef and #define lines the
same, so that the double inclusion protection works as expected.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/arch-imx8m/sys_proto.h
arch/arm/include/asm/arch-imx8ulp/sys_proto.h
arch/arm/include/asm/arch-imx9/sys_proto.h
include/imx_sip.h

index 55b46af..4ed8e95 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #ifndef __ARCH_IMX8M_SYS_PROTO_H
-#define __ARCH_NMX8M_SYS_PROTO_H
+#define __ARCH_IMX8M_SYS_PROTO_H
 
 #include <asm/mach-imx/sys_proto.h>
 #include <asm/arch/imx-regs.h>
index 5bbae21..95bf753 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #ifndef __ARCH_IMX8ULP_SYS_PROTO_H
-#define __ARCH_NMX8ULP_SYS_PROTO_H
+#define __ARCH_IMX8ULP_SYS_PROTO_H
 
 #include <asm/mach-imx/sys_proto.h>
 
index ba97f92..2f7a129 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #ifndef __ARCH_IMX9_SYS_PROTO_H
-#define __ARCH_NMX9_SYS_PROTO_H
+#define __ARCH_IMX9_SYS_PROTO_H
 
 #include <asm/mach-imx/sys_proto.h>
 
index 1b873f2..ebbb3a1 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 #ifndef _IMX_SIP_H__
-#define _IMX_SIP_H_
+#define _IMX_SIP_H__
 
 #define IMX_SIP_GPC            0xC2000000
 #define IMX_SIP_GPC_PM_DOMAIN  0x03