summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-01-18 14:54:18 -0800
committerDavid S. Miller <davem@davemloft.net>2014-01-21 16:45:41 -0800
commit8d78316386696b197aba15377c76a247cbfd51cf (patch)
tree3c534fee08b836c018732bd9ceab1085296babbb
parentf14fe8a848cd67dfdb9a959ff3e1fa259878bec3 (diff)
downloadop-kernel-dev-8d78316386696b197aba15377c76a247cbfd51cf.zip
op-kernel-dev-8d78316386696b197aba15377c76a247cbfd51cf.tar.gz
bond: make slave_sysfs_ops static
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bonding/bond_sysfs_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_sysfs_slave.c b/drivers/net/bonding/bond_sysfs_slave.c
index 7cb97de..fb4e5ed 100644
--- a/drivers/net/bonding/bond_sysfs_slave.c
+++ b/drivers/net/bonding/bond_sysfs_slave.c
@@ -102,7 +102,7 @@ static ssize_t slave_show(struct kobject *kobj,
return slave_attr->show(slave, buf);
}
-const struct sysfs_ops slave_sysfs_ops = {
+static const struct sysfs_ops slave_sysfs_ops = {
.show = slave_show,
};
OpenPOWER on IntegriCloud