* [PATCH RESEND] ARM: sunxi: make sun6i SMP ops static
@ 2014-11-15 23:53 Emilio López
2014-11-16 10:02 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Emilio López @ 2014-11-15 23:53 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
Here's an oldish patch that never made it to mainline. I rediscovered it
today while I was cleaning up stuff and running a sparse build of -rc4.
Cheers!
Emilio
arch/arm/mach-sunxi/platsmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-16 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-15 23:53 [PATCH RESEND] ARM: sunxi: make sun6i SMP ops static Emilio López
2014-11-16 10:02 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox