diff mbox series

[1/4] ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file

Message ID 1506365759-28768-1-git-send-email-marco.franchi@nxp.com
State New
Headers show
Series [1/4] ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file | expand

Commit Message

Marco Antonio Franchi Sept. 25, 2017, 6:55 p.m. UTC
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>
---
 arch/arm/mach-imx/mx31moboard-devboard.c | 1 +
 arch/arm/mach-imx/mx31moboard-marxbot.c  | 1 +
 2 files changed, 2 insertions(+)

Comments

Shawn Guo Oct. 13, 2017, 6:46 a.m. UTC | #1
On Mon, Sep 25, 2017 at 03:55:56PM -0300, Marco Franchi wrote:
> 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>

Applied all, thanks.
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/mx31moboard-devboard.c b/arch/arm/mach-imx/mx31moboard-devboard.c
index 1e91a09..3c224f4 100644
--- a/arch/arm/mach-imx/mx31moboard-devboard.c
+++ b/arch/arm/mach-imx/mx31moboard-devboard.c
@@ -22,6 +22,7 @@ 
 
 #include <linux/usb/otg.h>
 
+#include "board-mx31moboard.h"
 #include "common.h"
 #include "devices-imx31.h"
 #include "ehci.h"
diff --git a/arch/arm/mach-imx/mx31moboard-marxbot.c b/arch/arm/mach-imx/mx31moboard-marxbot.c
index 922d491..9a5a869 100644
--- a/arch/arm/mach-imx/mx31moboard-marxbot.c
+++ b/arch/arm/mach-imx/mx31moboard-marxbot.c
@@ -24,6 +24,7 @@ 
 
 #include <linux/usb/otg.h>
 
+#include "board-mx31moboard.h"
 #include "common.h"
 #include "devices-imx31.h"
 #include "ehci.h"