Skip to contentSkip to conversation

arm: spl: fix include guard

PATCH New Jeroen Hofstee 2 participants 2 messages Jun 11, 2014 – Jul 5, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: spl: fix include guard

---
 arch/arm/include/asm/arch-keystone/spl.h | 2 +-
 arch/arm/include/asm/arch-sunxi/spl.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/include/asm/arch-keystone/spl.h +1 -1
index 7012ea7..a7102d5 100644
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 #ifndef _ASM_ARCH_SPL_H_
-#define _ASM_SPL_H_
+#define _ASM_ARCH_SPL_H_
 
 #define BOOT_DEVICE_SPI        2
 
arch/arm/include/asm/arch-sunxi/spl.h +1 -1
index ff871bc..acbec46 100644
@@ -7,7 +7,7 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 #ifndef	_ASM_ARCH_SPL_H_
-#define	_ASM_SPL_H_
+#define	_ASM_ARCH_SPL_H_
 
 #define BOOT_DEVICE_NONE	0
 #define BOOT_DEVICE_XIP		1
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 arm: spl: fix include guard

Hi Jeroen,

Quoted 25 lines · Jeroen Hofstee
---
 arch/arm/include/asm/arch-keystone/spl.h | 2 +-
 arch/arm/include/asm/arch-sunxi/spl.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/include/asm/arch-keystone/spl.h +1 -1
index 7012ea7..a7102d5 100644
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 #ifndef _ASM_ARCH_SPL_H_
-#define _ASM_SPL_H_
+#define _ASM_ARCH_SPL_H_
 
 #define BOOT_DEVICE_SPI        2
 
arch/arm/include/asm/arch-sunxi/spl.h +0 -0
index ff871bc..acbec46 100644

arch/arm/include/asm/arch-sunxi/spl.h line 13

Quoted 8 lines
arch/arm/include/asm/arch-sunxi/spl.h +1 -1
@@ -7,7 +7,7 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 #ifndef	_ASM_ARCH_SPL_H_
-#define	_ASM_SPL_H_
+#define	_ASM_ARCH_SPL_H_
 
 #define BOOT_DEVICE_NONE	0
 #define BOOT_DEVICE_XIP		1

Considered a fix for potential bugs/compiler errors, and applied as such to u-boot-arm/master, thanks.

(Tom, this means another ARM PR today, with this fix and a couple of switches to generic board and a harmless code-move patch for socfpga.)

Amicalement,

Signature · 1 line
Albert.