aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2017-11-07 11:34:15 +0100
committerStefano Babic <sbabic@denx.de>2017-11-09 11:32:49 +0100
commit90d0e38c1e62667600d24a7befcb7ae4eaedce2b (patch)
tree37a1596cfbca335a924de5f962e0ea607fbb38fe
parenta3eec24ad382090097b206a4d4e5f01435e9aca5 (diff)
downloadu-boot-90d0e38c1e62667600d24a7befcb7ae4eaedce2b.zip
u-boot-90d0e38c1e62667600d24a7befcb7ae4eaedce2b.tar.gz
u-boot-90d0e38c1e62667600d24a7befcb7ae4eaedce2b.tar.bz2
imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file
Signed-off-by: Lukasz Majewski <lukma@denx.de>
-rw-r--r--arch/arm/include/asm/arch-mx6/sys_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h
index 72ab7d8..33458cd 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_ */