|
@@ -2912,11 +2912,14 @@ brcmf_sdbrcm_bus_txctl(struct brcmf_sdio *bus, unsigned char *msg, uint msglen)
|
|
|
}
|
|
|
|
|
|
int
|
|
|
-brcmf_sdbrcm_bus_rxctl(struct brcmf_sdio *bus, unsigned char *msg, uint msglen)
|
|
|
+brcmf_sdbrcm_bus_rxctl(struct device *dev, unsigned char *msg, uint msglen)
|
|
|
{
|
|
|
int timeleft;
|
|
|
uint rxlen = 0;
|
|
|
bool pending;
|
|
|
+ struct brcmf_bus *bus_if = dev_get_drvdata(dev);
|
|
|
+ struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv;
|
|
|
+ struct brcmf_sdio *bus = sdiodev->bus;
|
|
|
|
|
|
brcmf_dbg(TRACE, "Enter\n");
|
|
|
|