All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file
@ 2017-09-25 18:55 Marco Franchi
  2017-09-25 18:55 ` [PATCH 2/4] ARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" " Marco Franchi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marco Franchi @ 2017-09-25 18:55 UTC (permalink / raw)
  To: linux-arm-kernel

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(+)

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"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-13  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-25 18:55 [PATCH 1/4] ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file Marco Franchi
2017-09-25 18:55 ` [PATCH 2/4] ARM: imx: 3ds-debugboard: Include "3ds_debugboard.h" " Marco Franchi
2017-09-25 18:55 ` [PATCH 3/4] ARM: imx: cpuidle-imx5: Include "cpuidle.h" " Marco Franchi
2017-09-25 18:55 ` [PATCH 4/4] ARM: imx: mach-mx31lite: Make mx31lite_map_io static Marco Franchi
2017-10-13  6:46 ` [PATCH 1/4] ARM: imx: imx31moboard: Include "board-mx31moboard.h" header file Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.