diff options
author | Daniel Axtens <dja@axtens.net> | 2016-09-06 15:32:40 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-13 17:35:47 +1000 |
commit | 7c98bd72081c44670e2d0b60aed364180ebc0611 (patch) | |
tree | 8c5a5ad636ae713e75580d229152d839ee0ee038 /arch/powerpc/platforms/powermac/smp.c | |
parent | bc42f1d9f5b31060a3c6b83983925852f0acbe15 (diff) | |
download | linux-7c98bd72081c44670e2d0b60aed364180ebc0611.tar.gz linux-7c98bd72081c44670e2d0b60aed364180ebc0611.tar.bz2 linux-7c98bd72081c44670e2d0b60aed364180ebc0611.zip |
powerpc/sparse: Make a bunch of things static
Squash a bunch of sparse warnings by making things static.
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powermac/smp.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c index 834868b9fdc9..5a8564c2092a 100644 --- a/arch/powerpc/platforms/powermac/smp.c +++ b/arch/powerpc/platforms/powermac/smp.c @@ -979,7 +979,7 @@ static void pmac_cpu_die(void) #endif /* CONFIG_HOTPLUG_CPU */ /* Core99 Macs (dual G4s and G5s) */ -struct smp_ops_t core99_smp_ops = { +static struct smp_ops_t core99_smp_ops = { .message_pass = smp_mpic_message_pass, .probe = smp_core99_probe, #ifdef CONFIG_PPC64 |