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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 2bb70e052090..cb9cb3013f42 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -187,7 +187,7 @@ static void bond_send_gratuitous_arp(struct bonding *bond);
187 187
188/*---------------------------- General routines -----------------------------*/ 188/*---------------------------- General routines -----------------------------*/
189 189
190const char *bond_mode_name(int mode) 190static const char *bond_mode_name(int mode)
191{ 191{
192 switch (mode) { 192 switch (mode) {
193 case BOND_MODE_ROUNDROBIN : 193 case BOND_MODE_ROUNDROBIN :
@@ -1224,7 +1224,8 @@ static void bond_detach_slave(struct bonding *bond, struct slave *slave)
1224 1224
1225/*---------------------------------- IOCTL ----------------------------------*/ 1225/*---------------------------------- IOCTL ----------------------------------*/
1226 1226
1227int bond_sethwaddr(struct net_device *bond_dev, struct net_device *slave_dev) 1227static int bond_sethwaddr(struct net_device *bond_dev,
1228 struct net_device *slave_dev)
1228{ 1229{
1229 dprintk("bond_dev=%p\n", bond_dev); 1230 dprintk("bond_dev=%p\n", bond_dev);
1230 dprintk("slave_dev=%p\n", slave_dev); 1231 dprintk("slave_dev=%p\n", slave_dev);