Commit 2e845e5f authored by Marco Franchi's avatar Marco Franchi Committed by Shawn Guo

ARM: imx: mach-mx31lite: Make mx31lite_map_io static

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: default avatarMarco Franchi <marco.franchi@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 5ea2e8ad
...@@ -245,7 +245,7 @@ static struct map_desc mx31lite_io_desc[] __initdata = { ...@@ -245,7 +245,7 @@ static struct map_desc mx31lite_io_desc[] __initdata = {
/* /*
* Set up static virtual mappings. * Set up static virtual mappings.
*/ */
void __init mx31lite_map_io(void) static void __init mx31lite_map_io(void)
{ {
mx31_map_io(); mx31_map_io();
iotable_init(mx31lite_io_desc, ARRAY_SIZE(mx31lite_io_desc)); iotable_init(mx31lite_io_desc, ARRAY_SIZE(mx31lite_io_desc));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment