arm: mvebu: mark functions of armada-370-xp.c as static
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 May 2013 10:33:28 +0000 (12:33 +0200)
committerJason Cooper <jason@lakedaemon.net>
Tue, 21 May 2013 13:44:32 +0000 (13:44 +0000)
All the functions in armada-370-xp.c are called from the
DT_MACHINE_START function pointers, so there is no need for them to be
visible outside of this file, and we therefore mark them as static.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/armada-370-xp.c

index 97beb8724fda4b69abd71eabf0902054b7862d5d..cf8e357a0a0275754fd7c4b64ceca947409aa40c 100644 (file)
@@ -37,18 +37,18 @@ static struct map_desc armada_370_xp_io_desc[] __initdata = {
        },
 };
 
-void __init armada_370_xp_map_io(void)
+static void __init armada_370_xp_map_io(void)
 {
        iotable_init(armada_370_xp_io_desc, ARRAY_SIZE(armada_370_xp_io_desc));
 }
 
-void __init armada_370_xp_timer_and_clk_init(void)
+static void __init armada_370_xp_timer_and_clk_init(void)
 {
        mvebu_clocks_init();
        armada_370_xp_timer_init();
 }
 
-void __init armada_370_xp_init_early(void)
+static void __init armada_370_xp_init_early(void)
 {
        char *mbus_soc_name;