summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/sysfs.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2016-05-18 11:16:49 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-16 22:23:11 +1000
commit34852ed5511ec5d07897f22d5607061a248fc82f (patch)
tree617e23d39a791a073a7668700067dd75f54ff58d /arch/powerpc/kernel/sysfs.c
parent1d1451655bad9a6a5fd7a42de68420069ce3bee3 (diff)
downloadtalos-obmc-linux-34852ed5511ec5d07897f22d5607061a248fc82f.tar.gz
talos-obmc-linux-34852ed5511ec5d07897f22d5607061a248fc82f.zip
powerpc/sparse: make some things static
This is just a smattering of things picked up by sparse that should be made static. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
-rw-r--r--arch/powerpc/kernel/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c
index 692873bff334..c4f1d1f7bae0 100644
--- a/arch/powerpc/kernel/sysfs.c
+++ b/arch/powerpc/kernel/sysfs.c
@@ -35,7 +35,7 @@ static DEFINE_PER_CPU(struct cpu, cpu_devices);
#ifdef CONFIG_PPC64
/* Time in microseconds we delay before sleeping in the idle loop */
-DEFINE_PER_CPU(long, smt_snooze_delay) = { 100 };
+static DEFINE_PER_CPU(long, smt_snooze_delay) = { 100 };
static ssize_t store_smt_snooze_delay(struct device *dev,
struct device_attribute *attr,
OpenPOWER on IntegriCloud