[PATCH 2/4] ARM i.MX esdctl.h: Add double include protection
Sascha Hauer
s.hauer at pengutronix.de
Tue Nov 27 15:01:15 EST 2012
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-imx/include/mach/esdctl.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/include/mach/esdctl.h b/arch/arm/mach-imx/include/mach/esdctl.h
index 8124c87..b601ff8 100644
--- a/arch/arm/mach-imx/include/mach/esdctl.h
+++ b/arch/arm/mach-imx/include/mach/esdctl.h
@@ -1,3 +1,5 @@
+#ifndef __MACH_ESDCTL_V2_H
+#define __MACH_ESDCTL_V2_H
/* SDRAM Controller registers */
#define IMX_ESDCTL0 0x00 /* Enhanced SDRAM Control Register 0 */
@@ -124,3 +126,4 @@
//#define ESDCFGx_tRC_14 0x0000000e // 15 seems to not exist
#define ESDCFGx_tRC_16 0x0000000f
+#endif /* __MACH_ESDCTL_V2_H */
--
1.7.10.4
More information about the barebox
mailing list