]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
Staging: brcm80211: remove uintptr typedef usage
[mv-sheeva.git] / drivers / staging / brcm80211 / brcmfmac / bcmsdh_linux.c
index 2ed7cf212c5198d68e2e8d313d90553709553fbe..e7ad60d98affc01fbfe4fa20ff6214e9b3d04fee 100644 (file)
@@ -442,7 +442,7 @@ bcmsdh_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                SDLX_MSG(("%s: Cannot enable PCI device\n", __func__));
                goto err;
        }
-       sdh = bcmsdh_attach(osh, (void *)(uintptr) pci_resource_start(pdev, 0),
+       sdh = bcmsdh_attach(osh, (void *)(unsigned long)pci_resource_start(pdev, 0),
                        (void **)&regs, pdev->irq);
        if (!sdh) {
                SDLX_MSG(("%s: bcmsdh_attach failed\n", __func__));