[PATCH] ARM: mxc: add missing include

Robert Schwebel r.schwebel at pengutronix.de
Thu Jan 26 05:43:06 EST 2012


Without this include, we get the following error when building
imx_v4_v5_defconfig:

In file included from arch/arm/plat-mxc/include/mach/iomux-mx27.h:23:0,
                 from arch/arm/mach-imx/mach-imx27ipcam.c:22:
arch/arm/plat-mxc/include/mach/iomux-v1.h:99:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imx_iomuxv1_init'

Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
---
 arch/arm/plat-mxc/include/mach/iomux-v1.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-mxc/include/mach/iomux-v1.h b/arch/arm/plat-mxc/include/mach/iomux-v1.h
index 6fa8a70..d9a7787 100644
--- a/arch/arm/plat-mxc/include/mach/iomux-v1.h
+++ b/arch/arm/plat-mxc/include/mach/iomux-v1.h
@@ -19,6 +19,8 @@
 #ifndef __MACH_IOMUX_V1_H__
 #define __MACH_IOMUX_V1_H__
 
+#include <linux/init.h>
+
 /*
 *  GPIO Module and I/O Multiplexer
 *  x = 0..3 for reg_A, reg_B, reg_C, reg_D
-- 
1.7.8.3



More information about the linux-arm-kernel mailing list