diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2018-10-04 12:04:53 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-10-13 17:39:11 +0200 |
commit | c50479fa7a9e3379359d188aefc90f17fea216fe (patch) | |
tree | a4c9fddce0ee9026222f6aea06fa1ca62700d226 /drivers/net/wireless/mediatek/mt76/mmio.c | |
parent | 6f223a3dab94b9f39ea89ab9d912dec9bcbca666 (diff) | |
download | linux-stable-c50479fa7a9e3379359d188aefc90f17fea216fe.tar.gz linux-stable-c50479fa7a9e3379359d188aefc90f17fea216fe.tar.bz2 linux-stable-c50479fa7a9e3379359d188aefc90f17fea216fe.zip |
mt76: allow to identify bus
Add helpers to identify bus type.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mmio.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mmio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mmio.c b/drivers/net/wireless/mediatek/mt76/mmio.c index 30a5d928e655..1d6bbce76041 100644 --- a/drivers/net/wireless/mediatek/mt76/mmio.c +++ b/drivers/net/wireless/mediatek/mt76/mmio.c @@ -79,6 +79,7 @@ void mt76_mmio_init(struct mt76_dev *dev, void __iomem *regs) .copy = mt76_mmio_copy, .wr_rp = mt76_mmio_wr_rp, .rd_rp = mt76_mmio_rd_rp, + .type = MT76_BUS_MMIO, }; dev->bus = &mt76_mmio_ops; |