diff mbox

[3/9] ARM: sunxi: make sun6i SMP ops static

Message ID 1406842092-25207-4-git-send-email-emilio@elopez.com.ar
State New
Headers show

Commit Message

Emilio López July 31, 2014, 9:28 p.m. UTC
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>
---
 arch/arm/mach-sunxi/platsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxime Ripard Aug. 3, 2014, 12:41 p.m. UTC | #1
On Thu, Jul 31, 2014 at 06:28:06PM -0300, Emilio López wrote:
> 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>

That patch has nothing to do in this set. Please send it separately.

Maxime
diff mbox

Patch

diff --git a/arch/arm/mach-sunxi/platsmp.c b/arch/arm/mach-sunxi/platsmp.c
index c53077b..e44d028 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,
 };