Skip to content

Commit 49db584

Browse files
committed
Merge branch 'refs/heads/bits/080-wifi' into asahi-wip
2 parents ae19f32 + fc17dc4 commit 49db584

22 files changed

Lines changed: 1752 additions & 371 deletions

File tree

drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ struct brcmf_bus_ops {
107107
void (*debugfs_create)(struct device *dev);
108108
int (*reset)(struct device *dev);
109109
void (*remove)(struct device *dev);
110+
void (*d2h_mb_rx)(struct device *dev, u32 data);
110111
};
111112

112113

@@ -286,6 +287,15 @@ static inline void brcmf_bus_remove(struct brcmf_bus *bus)
286287
bus->ops->remove(bus->dev);
287288
}
288289

290+
static inline
291+
void brcmf_bus_d2h_mb_rx(struct brcmf_bus *bus, u32 data)
292+
{
293+
if (!bus->ops->d2h_mb_rx)
294+
return;
295+
296+
return bus->ops->d2h_mb_rx(bus->dev, data);
297+
}
298+
289299
/*
290300
* interface functions from common layer
291301
*/

0 commit comments

Comments
 (0)