ARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" header file
authorMarco Franchi <marco.franchi@nxp.com>
Mon, 25 Sep 2017 18:55:57 +0000 (15:55 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 13 Oct 2017 06:44:02 +0000 (14:44 +0800)
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@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/3ds_debugboard.c

index cda330c..0015abe 100644 (file)
@@ -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 */