diff options
author | Daniel Axtens <dja@axtens.net> | 2016-01-06 01:45:50 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-12 13:05:18 +0200 |
commit | 635218c785bef355bc8266a1fdb28f38cdca365d (patch) | |
tree | 2cb06a4ccb6cde3f6ba79de2e0ee3c731746d807 /arch/powerpc/kernel/ibmebus.c | |
parent | cxl: Configure the PSL for two CAPI ports on POWER8NVL (diff) | |
download | linux-635218c785bef355bc8266a1fdb28f38cdca365d.tar.xz linux-635218c785bef355bc8266a1fdb28f38cdca365d.zip |
powerpc: sparse: static-ify some things
As sparse suggests, these should be made static.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/ibmebus.c')
-rw-r--r-- | arch/powerpc/kernel/ibmebus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index ac86c53e2542..a89f4f7a66bd 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch/powerpc/kernel/ibmebus.c @@ -408,7 +408,7 @@ static ssize_t modalias_show(struct device *dev, return len+1; } -struct device_attribute ibmebus_bus_device_attrs[] = { +static struct device_attribute ibmebus_bus_device_attrs[] = { __ATTR_RO(devspec), __ATTR_RO(name), __ATTR_RO(modalias), |