diff options
author | Emilio López <emilio@elopez.com.ar> | 2014-11-16 02:53:38 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-11-16 13:02:33 +0300 |
commit | 02c24f7dc2449203a9309c6ecdb4feed2d884f43 (patch) | |
tree | 6b97710e84973b788559dd9c9b68e00e4b762819 /arch/arm/mach-sunxi | |
parent | 2f4bc73445fd3786b91d24b879fed527ef533cbf (diff) | |
download | linux-02c24f7dc2449203a9309c6ecdb4feed2d884f43.tar.xz |
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/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/platsmp.c | 2 |
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, }; |