diff options
author | Arend van Spriel <arend@broadcom.com> | 2011-12-08 18:06:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-13 15:32:19 -0500 |
commit | 28a5344261753fadb1731b82c5eeecca708a877c (patch) | |
tree | 5f1b249ebe0bd2124889dfbced9f41aa1cf82de8 /drivers/net/wireless/brcm80211/brcmsmac/main.c | |
parent | cbc80db2922112cf3c77a6121827ad662ea78c2d (diff) |
brcm80211: smac: change ai_attach interface taking a bcma_bus object
The ai_attach now takes a bcma_bus object as its parameter to
obtain all required information needed for chip control.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@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/brcmsmac/main.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index d329c900be79..73bc0ab78320 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c | |||
@@ -4469,7 +4469,7 @@ static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core, | |||
4469 | * Do the hardware portion of the attach. Also initialize software | 4469 | * Do the hardware portion of the attach. Also initialize software |
4470 | * state that depends on the particular hardware we are running. | 4470 | * state that depends on the particular hardware we are running. |
4471 | */ | 4471 | */ |
4472 | wlc_hw->sih = ai_attach(core->bus->mmio, core->bus->host_pci); | 4472 | wlc_hw->sih = ai_attach(core->bus); |
4473 | if (wlc_hw->sih == NULL) { | 4473 | if (wlc_hw->sih == NULL) { |
4474 | wiphy_err(wiphy, "wl%d: brcms_b_attach: si_attach failed\n", | 4474 | wiphy_err(wiphy, "wl%d: brcms_b_attach: si_attach failed\n", |
4475 | unit); | 4475 | unit); |