]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: sunxi: make sun6i SMP ops static
authorEmilio López <emilio@elopez.com.ar>
Sat, 15 Nov 2014 23:53:38 +0000 (20:53 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 16 Nov 2014 10:02:33 +0000 (11:02 +0100)
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>
arch/arm/mach-sunxi/platsmp.c

index c53077bb8c3fb3ff07c79f3c3bfeca781a5c3cb1..e44d028555a4978b134d4ee5c7199c120d5f2d57 100644 (file)
@@ -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,
 };