ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file
authorMarco Franchi <marco.franchi@nxp.com>
Mon, 25 Sep 2017 18:55:56 +0000 (15:55 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 13 Oct 2017 06:43:56 +0000 (14:43 +0800)
The following build warnings are seen with W=1:

warning: no previous prototype for ‘mx31moboard_devboard_init’
[-Wmissing-prototypes] void __init mx31moboard_devboard_init(void)
warning: no previous prototype for ‘mx31moboard_marxbot_init’
[-Wmissing-prototypes] void __init mx31moboard_marxbot_init(void)

Fix these warnings by including "board-mx31moboard.h".

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mx31moboard-devboard.c
arch/arm/mach-imx/mx31moboard-marxbot.c

index 1e91a0918e8341220f16adea31c01cccba57e980..3c224f41e68ed4027494db30d4c9f01257f4e842 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/usb/otg.h>
 
+#include "board-mx31moboard.h"
 #include "common.h"
 #include "devices-imx31.h"
 #include "ehci.h"
index 922d49175cb45fd611af7e7096be795d0624626a..9a5a869be1aecf1889f4e56e26d9833a398e9d4c 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <linux/usb/otg.h>
 
+#include "board-mx31moboard.h"
 #include "common.h"
 #include "devices-imx31.h"
 #include "ehci.h"