summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-11-15 20:53:38 -0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-11-16 11:02:33 +0100
commit02c24f7dc2449203a9309c6ecdb4feed2d884f43 (patch)
tree6b97710e84973b788559dd9c9b68e00e4b762819 /arch/arm
parent2f4bc73445fd3786b91d24b879fed527ef533cbf (diff)
ARM: sunxi: make sun6i SMP ops static
The sun6i SMP ops are currently not marked as static, as reported by sparse. Let's mark it as such. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-sunxi/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sunxi/platsmp.c b/arch/arm/mach-sunxi/platsmp.c
index c53077bb8c3f..e44d028555a4 100644
--- a/arch/arm/mach-sunxi/platsmp.c
+++ b/arch/arm/mach-sunxi/platsmp.c
@@ -116,7 +116,7 @@ static int sun6i_smp_boot_secondary(unsigned int cpu,
return 0;
}
-struct smp_operations sun6i_smp_ops __initdata = {
+static struct smp_operations sun6i_smp_ops __initdata = {
.smp_prepare_cpus = sun6i_smp_prepare_cpus,
.smp_boot_secondary = sun6i_smp_boot_secondary,
};