]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 55b46afaf78b06f199288b9f120387848322459b..4ed8e954e31a4cfcce7cced1fab5010edc72e083 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 5bbae21e37c7e9ac0305c589a0b769395c36fa91..95bf753a766b6d6c02578bddbf7e8a6e2536cfab 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 ba97f92f5ae5d54ea23ebe50383135fe12ba22ff..2f7a1292758f9901e8120f19c910550d43f26099 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 1b873f231be3ee7d5358fdcc3d1059302dc6b16a..ebbb3a16d7e688effd06f8a8d0414d1c0c3bc5d3 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