summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-mx31lite.c
diff options
context:
space:
mode:
authorMarco Franchi2017-09-25 20:55:59 +0200
committerShawn Guo2017-10-13 08:44:08 +0200
commit2e845e5f736fb724edcb258edd0d6d6684a77de8 (patch)
tree4eaa61549a241aa8deb02d50e4e1e313466734e3 /arch/arm/mach-imx/mach-mx31lite.c
parentARM: imx: cpuidle-imx5: Include "cpuidle.h" header file (diff)
downloadkernel-qcow2-linux-2e845e5f736fb724edcb258edd0d6d6684a77de8.tar.gz
kernel-qcow2-linux-2e845e5f736fb724edcb258edd0d6d6684a77de8.tar.xz
kernel-qcow2-linux-2e845e5f736fb724edcb258edd0d6d6684a77de8.zip
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 <marco.franchi@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31lite.c')
-rw-r--r--arch/arm/mach-imx/mach-mx31lite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx31lite.c b/arch/arm/mach-imx/mach-mx31lite.c
index f033a57d5694..a3250bc7f114 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));