summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_sysfs_slave.c
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 /drivers/net/bonding/bond_sysfs_slave.c
parentf14fe8a848cd67dfdb9a959ff3e1fa259878bec3 (diff)
bond: make slave_sysfs_ops static
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_sysfs_slave.c')
-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 7cb97de3cf63..fb4e5edb3ed0 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,
};