summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-01-18 23:54:18 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-22 01:45:41 +0100
commit8d78316386696b197aba15377c76a247cbfd51cf (patch)
tree3c534fee08b836c018732bd9ceab1085296babbb /drivers/net/bonding
parentnet: remove unnecessary initializations in net_dev_init (diff)
downloadlinux-8d78316386696b197aba15377c76a247cbfd51cf.tar.xz
linux-8d78316386696b197aba15377c76a247cbfd51cf.zip
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')
-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,
};