summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x02_usb.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-10-05 10:28:33 +0200
committerFelix Fietkau <nbd@nbd.name>2018-10-05 20:05:46 +0200
commitb38383e634351349bbcdad5236fb64c80cf74387 (patch)
treed1a8091e5f43f294c1e9230b25cc24e8086de02d /drivers/net/wireless/mediatek/mt76/mt76x02_usb.h
parent5ec574859c77a68694e5737edb1b00fb897b749a (diff)
downloadlinux-stable-b38383e634351349bbcdad5236fb64c80cf74387.tar.gz
linux-stable-b38383e634351349bbcdad5236fb64c80cf74387.tar.bz2
linux-stable-b38383e634351349bbcdad5236fb64c80cf74387.zip
mt76: usb: move mt76x02u_tx_complete_skb in mt76x02_usb_core.c
Move mt76x02u_tx_complete_skb and mt76x02u_remove_dma_hdr since they are used just by usb code Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_usb.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76x02_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_usb.h b/drivers/net/wireless/mediatek/mt76/mt76x02_usb.h
index e70ba4f97761..6b2138328eb2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_usb.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_usb.h
@@ -29,4 +29,6 @@ int mt76x02u_tx_prepare_skb(struct mt76_dev *dev, void *data,
struct sk_buff *skb, struct mt76_queue *q,
struct mt76_wcid *wcid, struct ieee80211_sta *sta,
u32 *tx_info);
+void mt76x02u_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue *q,
+ struct mt76_queue_entry *e, bool flush);
#endif /* __MT76x02_USB_H */