aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 8c5ebfb0680f..db82876ceb28 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -707,7 +707,7 @@ static int bond_check_dev_link(struct bonding *bond,
707 struct net_device *slave_dev, int reporting) 707 struct net_device *slave_dev, int reporting)
708{ 708{
709 const struct net_device_ops *slave_ops = slave_dev->netdev_ops; 709 const struct net_device_ops *slave_ops = slave_dev->netdev_ops;
710 static int (*ioctl)(struct net_device *, struct ifreq *, int); 710 int (*ioctl)(struct net_device *, struct ifreq *, int);
711 struct ifreq ifr; 711 struct ifreq ifr;
712 struct mii_ioctl_data *mii; 712 struct mii_ioctl_data *mii;
713 713