diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-10-14 12:03:58 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 14:31:11 +0100 |
commit | 3cb43b66060a5620cb1878668740c799235ad463 (patch) | |
tree | 9bfdc3b96969e834adb7a5c0d37dd49f8a001813 /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | bf4a938ab2cf854ed17f134e89e8aeff27c027f3 (diff) | |
download | linux-stable-3cb43b66060a5620cb1878668740c799235ad463.tar.gz linux-stable-3cb43b66060a5620cb1878668740c799235ad463.tar.bz2 linux-stable-3cb43b66060a5620cb1878668740c799235ad463.zip |
mt76: move mt76_mcu_send_firmware in common module
Move mt76_mcu_send_firmware routine in common code since it is actually
shared between mt7615, mt7663, mt7603 and mt7915 devices
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 8da645322aaa..49d61ce83183 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -1070,6 +1070,8 @@ int mt76_mcu_send_and_get_msg(struct mt76_dev *dev, int cmd, const void *data, int len, bool wait_resp, struct sk_buff **ret); int mt76_mcu_skb_send_and_get_msg(struct mt76_dev *dev, struct sk_buff *skb, int cmd, bool wait_resp, struct sk_buff **ret); +int mt76_mcu_send_firmware(struct mt76_dev *dev, int cmd, const void *data, + int len); static inline int mt76_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, int len, bool wait_resp) |