aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
diff options
context:
space:
mode:
authorFranky Lin <frankyl@broadcom.com>2011-12-16 21:36:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-19 14:40:43 -0500
commit55a63bcc4cdeabf76f7e42a76d0c59dbe37d0d64 (patch)
tree4dcba766bf74b1fdbd4cc4ab68288187d1bc90dd /drivers/net/wireless/brcm80211/brcmfmac/dhd.h
parentfbf59108f9e13e19cef7a0291a522906c0b0f8e4 (diff)
brcm80211: fmac: change function add_if parameter
Change parameter to device pointer for bus layer interface function brcmf_add_if. This is part of the fullmac bus interface refactoring. Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Reviewed-by: Alwin Beukers <alwin@broadcom.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/dhd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
index 74ea4b034001..a8e94eb8a7e7 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd.h
@@ -574,6 +574,7 @@ struct brcmf_dcmd {
574struct brcmf_bus { 574struct brcmf_bus {
575 u8 type; /* bus type */ 575 u8 type; /* bus type */
576 void *bus_priv; /* pointer to bus private structure */ 576 void *bus_priv; /* pointer to bus private structure */
577 void *drvr; /* pointer to driver pub structure brcmf_pub */
577 enum brcmf_bus_state state; 578 enum brcmf_bus_state state;
578}; 579};
579 580
@@ -743,7 +744,7 @@ extern int brcmf_c_host_event(struct brcmf_pub *drvr, int *idx,
743 void *pktdata, struct brcmf_event_msg *, 744 void *pktdata, struct brcmf_event_msg *,
744 void **data_ptr); 745 void **data_ptr);
745 746
746extern int brcmf_add_if(struct brcmf_pub *drvr, int ifidx, 747extern int brcmf_add_if(struct device *dev, int ifidx,
747 char *name, u8 *mac_addr); 748 char *name, u8 *mac_addr);
748extern void brcmf_del_if(struct brcmf_pub *drvr, int ifidx); 749extern void brcmf_del_if(struct brcmf_pub *drvr, int ifidx);
749 750