diff options
Diffstat (limited to 'target/linux/mvebu/patches-3.10/0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.10/0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.10/0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch b/target/linux/mvebu/patches-3.10/0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch new file mode 100644 index 0000000000..72465a19eb --- /dev/null +++ b/target/linux/mvebu/patches-3.10/0165-ARM-mvebu-make-armada_370_xp_pmsu_init-static.patch @@ -0,0 +1,36 @@ +From 167c442fb9adf4c2e02663a0291c6cfae31bad72 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Thu, 5 Dec 2013 10:02:25 +0100 +Subject: [PATCH 165/203] ARM: mvebu: make armada_370_xp_pmsu_init() static + +The armada_370_xp_pmsu_init() function is called as an +early_initcall(). Therefore, there is no need to export this function, +and we can make it static. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + arch/arm/mach-mvebu/common.h | 1 - + arch/arm/mach-mvebu/pmsu.c | 2 +- + 2 files changed, 1 insertion(+), 2 deletions(-) + +--- a/arch/arm/mach-mvebu/common.h ++++ b/arch/arm/mach-mvebu/common.h +@@ -22,7 +22,6 @@ void armada_370_xp_handle_irq(struct pt_ + + void armada_xp_cpu_die(unsigned int cpu); + int armada_370_xp_coherency_init(void); +-int armada_370_xp_pmsu_init(void); + void armada_xp_secondary_startup(void); + extern struct smp_operations armada_xp_smp_ops; + #endif +--- a/arch/arm/mach-mvebu/pmsu.c ++++ b/arch/arm/mach-mvebu/pmsu.c +@@ -58,7 +58,7 @@ int armada_xp_boot_cpu(unsigned int cpu_ + } + #endif + +-int __init armada_370_xp_pmsu_init(void) ++static int __init armada_370_xp_pmsu_init(void) + { + struct device_node *np; + |