diff options
Diffstat (limited to 'drivers/net/wireless/bcmdhd/bcmsdh_linux.c')
-rw-r--r-- | drivers/net/wireless/bcmdhd/bcmsdh_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/bcmdhd/bcmsdh_linux.c b/drivers/net/wireless/bcmdhd/bcmsdh_linux.c index 096abb824350..414b172a9ab1 100644 --- a/drivers/net/wireless/bcmdhd/bcmsdh_linux.c +++ b/drivers/net/wireless/bcmdhd/bcmsdh_linux.c @@ -247,7 +247,7 @@ int bcmsdh_probe(struct device *dev) /* try to attach to the target device */ if (!(sdhc->ch = drvinfo.attach((vendevid >> 16), func->device, 0, 0, 0, 0, - (void *)regs, NULL, sdh))) { + (void *)regs, NULL, sdh, dev))) { SDLX_MSG(("%s: device attach failed\n", __FUNCTION__)); goto err; } @@ -465,7 +465,7 @@ bcmsdh_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) /* try to attach to the target device */ if (!(sdhc->ch = drvinfo.attach(VENDOR_BROADCOM, /* pdev->vendor, */ bcmsdh_query_device(sdh) & 0xFFFF, 0, 0, 0, 0, - (void *)regs, NULL, sdh))) { + (void *)regs, NULL, sdh, pdev->dev))) { SDLX_MSG(("%s: device attach failed\n", __FUNCTION__)); goto err; } |