From: stephen hemminger Date: Sat, 18 Jan 2014 22:54:18 +0000 (-0800) Subject: bond: make slave_sysfs_ops static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d78316386696b197aba15377c76a247cbfd51cf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git bond: make slave_sysfs_ops static Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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, };