aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Franchi <marco.franchi@nxp.com>2017-09-25 14:55:56 -0400
committerShawn Guo <shawnguo@kernel.org>2017-10-13 02:43:56 -0400
commitfa5f66c9387033e9d600df91040b35f0691dc058 (patch)
tree28875b18e72250a75255c93955954a771cb70d99
parent5cd6bc681582e283661be6c16034b6493b9a8683 (diff)
ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file
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>
-rw-r--r--arch/arm/mach-imx/mx31moboard-devboard.c1
-rw-r--r--arch/arm/mach-imx/mx31moboard-marxbot.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx31moboard-devboard.c b/arch/arm/mach-imx/mx31moboard-devboard.c
index 1e91a0918e83..3c224f41e68e 100644
--- a/arch/arm/mach-imx/mx31moboard-devboard.c
+++ b/arch/arm/mach-imx/mx31moboard-devboard.c
@@ -22,6 +22,7 @@
22 22
23#include <linux/usb/otg.h> 23#include <linux/usb/otg.h>
24 24
25#include "board-mx31moboard.h"
25#include "common.h" 26#include "common.h"
26#include "devices-imx31.h" 27#include "devices-imx31.h"
27#include "ehci.h" 28#include "ehci.h"
diff --git a/arch/arm/mach-imx/mx31moboard-marxbot.c b/arch/arm/mach-imx/mx31moboard-marxbot.c
index 922d49175cb4..9a5a869be1ae 100644
--- a/arch/arm/mach-imx/mx31moboard-marxbot.c
+++ b/arch/arm/mach-imx/mx31moboard-marxbot.c
@@ -24,6 +24,7 @@
24 24
25#include <linux/usb/otg.h> 25#include <linux/usb/otg.h>
26 26
27#include "board-mx31moboard.h"
27#include "common.h" 28#include "common.h"
28#include "devices-imx31.h" 29#include "devices-imx31.h"
29#include "ehci.h" 30#include "ehci.h"