[PATCH 3/4] ARM i.MX: Add double include protection for generic.h
Sascha Hauer
s.hauer at pengutronix.de
Sun Mar 10 06:19:20 EDT 2013
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-imx/include/mach/generic.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h
index 5e600a3..1f0fce2 100644
--- a/arch/arm/mach-imx/include/mach/generic.h
+++ b/arch/arm/mach-imx/include/mach/generic.h
@@ -1,3 +1,5 @@
+#ifndef __MACH_GENERIC_H
+#define __MACH_GENERIC_H
u64 imx_uid(void);
@@ -82,3 +84,5 @@ int imx6_boot_save_loc(void __iomem *src_base);
#define cpu_is_mx23() (0)
#define cpu_is_mx28() (0)
+
+#endif /* __MACH_GENERIC_H */
--
1.8.2.rc2
More information about the barebox
mailing list