[U-Boot] [PATCH 3/3] imx7: Add include guards for include/asm/arch-mx7/sys_proto.h file

Lukasz Majewski lukma at denx.de
Tue Nov 7 10:34:17 UTC 2017


Signed-off-by: Lukasz Majewski <lukma at denx.de>
---

 arch/arm/include/asm/arch-mx7/sys_proto.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/include/asm/arch-mx7/sys_proto.h b/arch/arm/include/asm/arch-mx7/sys_proto.h
index fa624248b2..cd83662a78 100644
--- a/arch/arm/include/asm/arch-mx7/sys_proto.h
+++ b/arch/arm/include/asm/arch-mx7/sys_proto.h
@@ -3,8 +3,12 @@
  *
  * SPDX-License-Identifier:	GPL-2.0+
  */
+#ifndef __SYS_PROTO_IMX7_
+#define __SYS_PROTO_IMX7_
 
 #include <asm/mach-imx/sys_proto.h>
 
 void set_wdog_reset(struct wdog_regs *wdog);
 enum boot_device get_boot_device(void);
+
+#endif /* __SYS_PROTO_IMX7_ */
-- 
2.11.0



More information about the U-Boot mailing list