aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bonding/bond_main.c1
-rw-r--r--drivers/net/bonding/bond_sysfs.c3
-rw-r--r--drivers/net/bonding/bonding.h5
3 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index a34c186b08bb..460c2cad2755 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -154,7 +154,6 @@ LIST_HEAD(bond_dev_list);
154static struct proc_dir_entry *bond_proc_dir = NULL; 154static struct proc_dir_entry *bond_proc_dir = NULL;
155#endif 155#endif
156 156
157extern struct rw_semaphore bonding_rwsem;
158static __be32 arp_target[BOND_MAX_ARP_TARGETS] = { 0, } ; 157static __be32 arp_target[BOND_MAX_ARP_TARGETS] = { 0, } ;
159static int arp_ip_count = 0; 158static int arp_ip_count = 0;
160static int bond_mode = BOND_MODE_ROUNDROBIN; 159static int bond_mode = BOND_MODE_ROUNDROBIN;
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c
index 1860f814c78f..18cf4787874c 100644
--- a/drivers/net/bonding/bond_sysfs.c
+++ b/drivers/net/bonding/bond_sysfs.c
@@ -43,9 +43,6 @@
43 43
44/*---------------------------- Declarations -------------------------------*/ 44/*---------------------------- Declarations -------------------------------*/
45 45
46extern struct bond_params bonding_defaults;
47extern struct bond_parm_tbl ad_select_tbl[];
48
49static int expected_refcount = -1; 46static int expected_refcount = -1;
50/*--------------------------- Data Structures -----------------------------*/ 47/*--------------------------- Data Structures -----------------------------*/
51 48
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index 31ae5b532e5d..ca849d2adf98 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -350,6 +350,11 @@ extern const struct bond_parm_tbl bond_mode_tbl[];
350extern const struct bond_parm_tbl xmit_hashtype_tbl[]; 350extern const struct bond_parm_tbl xmit_hashtype_tbl[];
351extern const struct bond_parm_tbl arp_validate_tbl[]; 351extern const struct bond_parm_tbl arp_validate_tbl[];
352extern const struct bond_parm_tbl fail_over_mac_tbl[]; 352extern const struct bond_parm_tbl fail_over_mac_tbl[];
353extern struct bond_params bonding_defaults;
354extern struct bond_parm_tbl ad_select_tbl[];
355
356/* exported from bond_sysfs.c */
357extern struct rw_semaphore bonding_rwsem;
353 358
354#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) 359#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
355void bond_send_unsolicited_na(struct bonding *bond); 360void bond_send_unsolicited_na(struct bonding *bond);