mvebu: backport mainline patches from kernel 3.11
[openwrt/svn-archive/archive.git] / target / linux / mvebu / patches-3.10 / 0012-arm-mvebu-mark-functions-of-armada-370-xp.c-as-stati.patch
1 From f865fd0e1c10bb044d56037eaa6ac4a4a122c62a Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 21 May 2013 12:33:28 +0200
4 Subject: [PATCH 012/203] arm: mvebu: mark functions of armada-370-xp.c as
5 static
6
7 All the functions in armada-370-xp.c are called from the
8 DT_MACHINE_START function pointers, so there is no need for them to be
9 visible outside of this file, and we therefore mark them as static.
10
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
13 ---
14 arch/arm/mach-mvebu/armada-370-xp.c | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17 --- a/arch/arm/mach-mvebu/armada-370-xp.c
18 +++ b/arch/arm/mach-mvebu/armada-370-xp.c
19 @@ -38,18 +38,18 @@ static struct map_desc armada_370_xp_io_
20 },
21 };
22
23 -void __init armada_370_xp_map_io(void)
24 +static void __init armada_370_xp_map_io(void)
25 {
26 iotable_init(armada_370_xp_io_desc, ARRAY_SIZE(armada_370_xp_io_desc));
27 }
28
29 -void __init armada_370_xp_timer_and_clk_init(void)
30 +static void __init armada_370_xp_timer_and_clk_init(void)
31 {
32 mvebu_clocks_init();
33 armada_370_xp_timer_init();
34 }
35
36 -void __init armada_370_xp_init_early(void)
37 +static void __init armada_370_xp_init_early(void)
38 {
39 char *mbus_soc_name;
40