diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-21 06:33:28 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-21 09:44:32 -0400 |
commit | c589f9b4b51317cfc530812fe90a9895bd51430e (patch) | |
tree | 39df67826b6f584f5b6dcf5b6ea3b0c025de0cbc | |
parent | 84f013bc3a2e36365abff9416714e34c2993a4a5 (diff) |
arm: mvebu: mark functions of armada-370-xp.c as static
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>
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 97beb8724fda..cf8e357a0a02 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c | |||
@@ -37,18 +37,18 @@ static struct map_desc armada_370_xp_io_desc[] __initdata = { | |||
37 | }, | 37 | }, |
38 | }; | 38 | }; |
39 | 39 | ||
40 | void __init armada_370_xp_map_io(void) | 40 | static void __init armada_370_xp_map_io(void) |
41 | { | 41 | { |
42 | iotable_init(armada_370_xp_io_desc, ARRAY_SIZE(armada_370_xp_io_desc)); | 42 | iotable_init(armada_370_xp_io_desc, ARRAY_SIZE(armada_370_xp_io_desc)); |
43 | } | 43 | } |
44 | 44 | ||
45 | void __init armada_370_xp_timer_and_clk_init(void) | 45 | static void __init armada_370_xp_timer_and_clk_init(void) |
46 | { | 46 | { |
47 | mvebu_clocks_init(); | 47 | mvebu_clocks_init(); |
48 | armada_370_xp_timer_init(); | 48 | armada_370_xp_timer_init(); |
49 | } | 49 | } |
50 | 50 | ||
51 | void __init armada_370_xp_init_early(void) | 51 | static void __init armada_370_xp_init_early(void) |
52 | { | 52 | { |
53 | char *mbus_soc_name; | 53 | char *mbus_soc_name; |
54 | 54 | ||