base-files: define yes/no as valid boolean options
[openwrt/staging/mkresin.git] / target / linux / mvebu / patches-3.10 / 0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch
1 From 167c442fb9adf4c2e02663a0291c6cfae31bad72 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Thu, 5 Dec 2013 10:02:25 +0100
4 Subject: [PATCH 165/203] ARM: mvebu: make armada_370_xp_pmsu_init() static
5
6 The armada_370_xp_pmsu_init() function is called as an
7 early_initcall(). Therefore, there is no need to export this function,
8 and we can make it static.
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12 arch/arm/mach-mvebu/common.h | 1 -
13 arch/arm/mach-mvebu/pmsu.c | 2 +-
14 2 files changed, 1 insertion(+), 2 deletions(-)
15
16 --- a/arch/arm/mach-mvebu/common.h
17 +++ b/arch/arm/mach-mvebu/common.h
18 @@ -22,7 +22,6 @@ void armada_370_xp_handle_irq(struct pt_
19
20 void armada_xp_cpu_die(unsigned int cpu);
21 int armada_370_xp_coherency_init(void);
22 -int armada_370_xp_pmsu_init(void);
23 void armada_xp_secondary_startup(void);
24 extern struct smp_operations armada_xp_smp_ops;
25 #endif
26 --- a/arch/arm/mach-mvebu/pmsu.c
27 +++ b/arch/arm/mach-mvebu/pmsu.c
28 @@ -58,7 +58,7 @@ int armada_xp_boot_cpu(unsigned int cpu_
29 }
30 #endif
31
32 -int __init armada_370_xp_pmsu_init(void)
33 +static int __init armada_370_xp_pmsu_init(void)
34 {
35 struct device_node *np;
36