diff options
author | Rasesh Mody <rmody@brocade.com> | 2010-08-26 02:00:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-26 02:00:27 -0400 |
commit | 8a891429d1879ae4f37f547ef5c2d68e19277e4a (patch) | |
tree | ac759c522cbc86c4373d6086ccd800e9aea09c7f /drivers/net/bna/bfa_cee.h | |
parent | ced1de4c9eeded664e5f1b21cfcb0fb70cc0cde3 (diff) |
bna: Fixed build break for allyesconfig
This is the patch to fix the build break caused by multiple
definitions of symbols between Brocade's FC/FCOE driver(BFA)
and 10G Networking Driver(BNA).
Changes are:
1. locally used functions are made static
2. unused functions are removed
3. using unique namespaces for the function names that must be
globally visible
Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bfa_cee.h')
-rw-r--r-- | drivers/net/bna/bfa_cee.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/net/bna/bfa_cee.h b/drivers/net/bna/bfa_cee.h index 1208cadeceed..20543d15b64f 100644 --- a/drivers/net/bna/bfa_cee.h +++ b/drivers/net/bna/bfa_cee.h | |||
@@ -56,17 +56,9 @@ struct bfa_cee { | |||
56 | struct bfa_mbox_cmd reset_stats_mb; | 56 | struct bfa_mbox_cmd reset_stats_mb; |
57 | }; | 57 | }; |
58 | 58 | ||
59 | u32 bfa_cee_meminfo(void); | 59 | u32 bfa_nw_cee_meminfo(void); |
60 | void bfa_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva, | 60 | void bfa_nw_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva, |
61 | u64 dma_pa); | 61 | u64 dma_pa); |
62 | void bfa_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev); | 62 | void bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev); |
63 | void bfa_cee_detach(struct bfa_cee *cee); | ||
64 | enum bfa_status bfa_cee_get_attr(struct bfa_cee *cee, | ||
65 | struct bfa_cee_attr *attr, bfa_cee_get_attr_cbfn_t cbfn, void *cbarg); | ||
66 | enum bfa_status bfa_cee_get_stats(struct bfa_cee *cee, | ||
67 | struct bfa_cee_stats *stats, bfa_cee_get_stats_cbfn_t cbfn, | ||
68 | void *cbarg); | ||
69 | enum bfa_status bfa_cee_reset_stats(struct bfa_cee *cee, | ||
70 | bfa_cee_reset_stats_cbfn_t cbfn, void *cbarg); | ||
71 | 63 | ||
72 | #endif /* __BFA_CEE_H__ */ | 64 | #endif /* __BFA_CEE_H__ */ |