[PATCH 2/4] ARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" header file

Marco Franchi marco.franchi at nxp.com
Mon Sep 25 11:55:57 PDT 2017


The following build warning is seen with W=1:

warning: no previous prototype for ‘mxc_expio_init’ 
[-Wmissing-prototypes] int __init mxc_expio_init(u32 base, u32 intr_gpio)

Fix this warning by including "3ds_debugboard.h".

Signed-off-by: Marco Franchi <marco.franchi at nxp.com>
---
 arch/arm/mach-imx/3ds_debugboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-imx/3ds_debugboard.c b/arch/arm/mach-imx/3ds_debugboard.c
index cda330c..0015abe 100644
--- a/arch/arm/mach-imx/3ds_debugboard.c
+++ b/arch/arm/mach-imx/3ds_debugboard.c
@@ -20,7 +20,7 @@
 #include <linux/smsc911x.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/fixed.h>
-
+#include "3ds_debugboard.h"
 #include "hardware.h"
 
 /* LAN9217 ethernet base address */
-- 
2.7.4




More information about the linux-arm-kernel mailing list