[PATCH 03/19] ARM omap4: Add missing assembly protection in header file
Jan Luebbe
jlu at pengutronix.de
Tue Dec 18 09:22:25 EST 2012
From: Sascha Hauer <s.hauer at pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-omap/include/mach/omap4-silicon.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-omap/include/mach/omap4-silicon.h b/arch/arm/mach-omap/include/mach/omap4-silicon.h
index 8ce1882..127257d 100644
--- a/arch/arm/mach-omap/include/mach/omap4-silicon.h
+++ b/arch/arm/mach-omap/include/mach/omap4-silicon.h
@@ -184,6 +184,8 @@
#define OMAP4460_ES1_0 6
#define OMAP4460_ES1_1 7
+#ifndef __ASSEMBLY__
+
struct ddr_regs {
u32 tim1;
u32 tim2;
@@ -205,3 +207,5 @@ unsigned int omap4_revision(void);
noinline int omap4_scale_vcores(unsigned vsel0_pin);
#endif
+
+#endif
--
1.7.10.4
More information about the barebox
mailing list