[PATCH] ARM: imx: fix missing include of 3ds_debugboard.h

Ben Dooks ben.dooks at codethink.co.uk
Thu Jun 9 05:10:26 PDT 2016


The declaration of mxc_expio_init() was not included from the
header file "3ds_debugboard.h", so include it to fix the warning:

arch/arm/mach-imx/3ds_debugboard.c:155:12: warning: symbol 'mxc_expio_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks at codethink.co.uk>
---
Cc: Shawn Guo <shawnguo at kernel.org>
Cc: Sascha Hauer <kernel at pengutronix.de>
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mach-imx/3ds_debugboard.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/3ds_debugboard.c b/arch/arm/mach-imx/3ds_debugboard.c
index cda330c..a3fdcaa 100644
--- a/arch/arm/mach-imx/3ds_debugboard.c
+++ b/arch/arm/mach-imx/3ds_debugboard.c
@@ -22,6 +22,7 @@
 #include <linux/regulator/fixed.h>
 
 #include "hardware.h"
+#include "3ds_debugboard.h"
 
 /* LAN9217 ethernet base address */
 #define LAN9217_BASE_ADDR(n)	(n + 0x0)
-- 
2.8.1




More information about the linux-arm-kernel mailing list