aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bna/bfa_cee.h
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2010-08-26 02:00:27 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-26 02:00:27 -0400
commit8a891429d1879ae4f37f547ef5c2d68e19277e4a (patch)
treeac759c522cbc86c4373d6086ccd800e9aea09c7f /drivers/net/bna/bfa_cee.h
parentced1de4c9eeded664e5f1b21cfcb0fb70cc0cde3 (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.h14
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
59u32 bfa_cee_meminfo(void); 59u32 bfa_nw_cee_meminfo(void);
60void bfa_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva, 60void bfa_nw_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva,
61 u64 dma_pa); 61 u64 dma_pa);
62void bfa_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev); 62void bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev);
63void bfa_cee_detach(struct bfa_cee *cee);
64enum 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);
66enum 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);
69enum 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__ */