diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2018-09-06 11:18:58 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-09-19 12:31:14 +0200 |
commit | 835123b7e14cc328608197897db28e9b4d09d987 (patch) | |
tree | 5955c56c00ce979fa1baa8d7393d079fd270c031 /drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | |
parent | 6d1bced1495d1431d26854367a0d0d38a87cea9e (diff) | |
download | linux-stable-835123b7e14cc328608197897db28e9b4d09d987.tar.gz linux-stable-835123b7e14cc328608197897db28e9b4d09d987.tar.bz2 linux-stable-835123b7e14cc328608197897db28e9b4d09d987.zip |
mt76x0: make device allocation bus neutral
Remove some USB specific code form mt76x0_alloc_device.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/tx.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/tx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c index 4058dae1368f..3618f92662f8 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/tx.c @@ -95,6 +95,7 @@ int mt76x0_tx_prepare_skb(struct mt76_dev *mdev, void *data, return mt76x02_set_txinfo(skb, wcid, q2ep(q->hw_idx)); } +EXPORT_SYMBOL_GPL(mt76x0_tx_prepare_skb); void mt76x0_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, struct sk_buff *skb) @@ -110,4 +111,4 @@ void mt76x0_queue_rx_skb(struct mt76_dev *mdev, enum mt76_rxq_id q, mt76_rx(&dev->mt76, q, skb); } - +EXPORT_SYMBOL_GPL(mt76x0_queue_rx_skb); |