ARM: sunxi: make sun6i SMP ops static
Subsystems (3)
PATCH RESEND 1/1 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 <[email protected]>
---
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(-)
arch/arm/mach-sunxi/platsmp.c +1 -1
@@ -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, };
Signature · 1 line
2.1.3
Maxime Ripard
AppliedPATCH RESEND 1/1 ARM: sunxi: make sun6i SMP ops static
Quoted 4 lines · Emilio L?pez
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 <[email protected]>
Quoted 8 lines
---
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
Merged, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141116/59fee241/attachment.sig>