@@ -434,6 +434,7 @@ struct brcmf_sdio_count {
struct brcmf_sdio {
struct brcmf_sdio_dev *sdiodev; /* sdio device handler */
struct brcmf_chip *ci; /* Chip info struct */
+ struct brcmf_pub *pub; /* Bus generic struct */
u32 hostintmask; /* Copy of Host Interrupt Mask */
atomic_t intstatus; /* Intstatus bits (events) pending */
@@ -4155,6 +4156,7 @@ struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
brcmf_err("brcmf_attach failed\n");
goto fail;
}
+ bus->pub = sdiodev->bus_if->drvr;
/* allocate scatter-gather table. sg support
* will be disabled upon allocation failure.