diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 02:58:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 02:58:57 -0500 |
commit | b06715b7a3db551dcf4706f05e8d2285a66fe05f (patch) | |
tree | a905110ecc08f0bb831a8bea25b9a2f860dd3372 /drivers/net/bonding/bonding.h | |
parent | 9dc20f553f8cb548feaba9dae0cb4905327ecbac (diff) |
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>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 5 |
1 files changed, 5 insertions, 0 deletions
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[]; | |||
350 | extern const struct bond_parm_tbl xmit_hashtype_tbl[]; | 350 | extern const struct bond_parm_tbl xmit_hashtype_tbl[]; |
351 | extern const struct bond_parm_tbl arp_validate_tbl[]; | 351 | extern const struct bond_parm_tbl arp_validate_tbl[]; |
352 | extern const struct bond_parm_tbl fail_over_mac_tbl[]; | 352 | extern const struct bond_parm_tbl fail_over_mac_tbl[]; |
353 | extern struct bond_params bonding_defaults; | ||
354 | extern struct bond_parm_tbl ad_select_tbl[]; | ||
355 | |||
356 | /* exported from bond_sysfs.c */ | ||
357 | extern 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) |
355 | void bond_send_unsolicited_na(struct bonding *bond); | 360 | void bond_send_unsolicited_na(struct bonding *bond); |