diff mbox series

[4/4] ARM: imx: mach-mx31lite: Make mx31lite_map_io static

Message ID 1506365759-28768-4-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 warning is seen with W=1:

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

This function is only used in this file so make it "static".

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
---
 arch/arm/mach-imx/mach-mx31lite.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c
index f033a57..a3250bc 100644
--- a/arch/arm/mach-imx/mach-mx31lite.c
+++ b/arch/arm/mach-imx/mach-mx31lite.c
@@ -245,7 +245,7 @@  static struct map_desc mx31lite_io_desc[] __initdata = {
 /*
  * Set up static virtual mappings.
  */
-void __init mx31lite_map_io(void)
+static void __init mx31lite_map_io(void)
 {
 	mx31_map_io();
 	iotable_init(mx31lite_io_desc, ARRAY_SIZE(mx31lite_io_desc));