diff mbox series

[U-Boot,1/3] imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file

Message ID 20171107103417.15648-1-lukma@denx.de
State Accepted
Commit 90d0e38c1e62667600d24a7befcb7ae4eaedce2b
Delegated to: Stefano Babic
Headers show
Series [U-Boot,1/3] imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file | expand

Commit Message

Lukasz Majewski Nov. 7, 2017, 10:34 a.m. UTC
Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

 arch/arm/include/asm/arch-mx6/sys_proto.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 72ab7d814f..33458cd000 100644
--- a/arch/arm/include/asm/arch-mx6/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx6/sys_proto.h
@@ -5,6 +5,9 @@ 
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
+#ifndef __SYS_PROTO_IMX6_
+#define __SYS_PROTO_IMX6_
+
 #include <asm/mach-imx/sys_proto.h>
 #include <asm/arch/iomux.h>
 
@@ -27,3 +30,5 @@  static inline void iomuxc_set_rgmii_io_voltage(int io_vol)
 {
 	__raw_writel(io_vol, IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE_RGMII);
 }
+
+#endif /* __SYS_PROTO_IMX6_ */