]> git.sur5r.net Git - u-boot/commitdiff
imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file
authorLukasz Majewski <lukma@denx.de>
Tue, 7 Nov 2017 10:34:15 +0000 (11:34 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 9 Nov 2017 10:32:49 +0000 (11:32 +0100)
Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/arm/include/asm/arch-mx6/sys_proto.h

index 72ab7d814fc96e56e845377e9153bd0a38c6f6fa..33458cd0008641e8960fe7a59ee943de09a9566e 100644 (file)
@@ -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_ */