From: Marco Franchi Date: Mon, 25 Sep 2017 18:55:59 +0000 (-0300) Subject: ARM: imx: mach-mx31lite: Make mx31lite_map_io static X-Git-Tag: v5.15~9980^2~6^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e845e5f736fb724edcb258edd0d6d6684a77de8;p=platform%2Fkernel%2Flinux-starfive.git 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: Marco Franchi Signed-off-by: Shawn Guo --- 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));