Browse Source

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>
Emilio López 11 years ago
parent
commit
02c24f7dc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-sunxi/platsmp.c

+ 1 - 1
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,
 };