summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2013-12-12 11:58:55 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-18 15:22:41 -0500
commit4744d16402e3557dc98359effaec3371e78a9bc3 (patch)
treeff03304bc15d8068f657611cf4956187136310c8 /drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
parent1cee05e38479efc11f1e7178b49108369c6f059e (diff)
downloadlwn-4744d16402e3557dc98359effaec3371e78a9bc3.tar.gz
lwn-4744d16402e3557dc98359effaec3371e78a9bc3.zip
brcmfmac: remove regs parameter from sdio probe functions
The chip recognition requires a base address that was provided to it during the probe. However, the address is a fixed define value so it is unnecessary to pass through the probe functions. Reviewed-by: Franky Lin <frankyl@broadcom.com> Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
index 3934afa899c9..ec9f5ed7b585 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
@@ -992,17 +992,14 @@ static int brcmf_sdio_remove(struct brcmf_sdio_dev *sdiodev)
static int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
{
- u32 regs = 0;
int ret = 0;
ret = brcmf_sdioh_attach(sdiodev);
if (ret)
goto out;
- regs = SI_ENUM_BASE;
-
/* try to attach to the target device */
- sdiodev->bus = brcmf_sdbrcm_probe(regs, sdiodev);
+ sdiodev->bus = brcmf_sdbrcm_probe(sdiodev);
if (!sdiodev->bus) {
brcmf_err("device attach failed\n");
ret = -ENODEV;