drivers/net/bonding: fix sparse warnings: move decls to header file
Fix this sparse warnings: drivers/net/bonding/bond_main.c:104:20: warning: symbol 'bonding_defaults' was not declared. Should it be static? drivers/net/bonding/bond_main.c:204:22: warning: symbol 'ad_select_tbl' was not declared. Should it be static? drivers/net/bonding/bond_sysfs.c:60:21: warning: symbol 'bonding_rwsem' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
9dc20f553f
commit
b06715b7a3
@@ -350,6 +350,11 @@ extern const struct bond_parm_tbl bond_mode_tbl[];
|
||||
extern const struct bond_parm_tbl xmit_hashtype_tbl[];
|
||||
extern const struct bond_parm_tbl arp_validate_tbl[];
|
||||
extern const struct bond_parm_tbl fail_over_mac_tbl[];
|
||||
extern struct bond_params bonding_defaults;
|
||||
extern struct bond_parm_tbl ad_select_tbl[];
|
||||
|
||||
/* exported from bond_sysfs.c */
|
||||
extern struct rw_semaphore bonding_rwsem;
|
||||
|
||||
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|
||||
void bond_send_unsolicited_na(struct bonding *bond);
|
||||
|
||||
Reference in New Issue
Block a user