mt76: move mt76_mcu_msg_alloc in mt76-core
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 4 Feb 2019 16:51:27 +0000 (17:51 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 18:54:33 +0000 (19:54 +0100)
commit9df0fab9d1cad3cbdd47683e5b4f3c7c09a91bd3
tree6ddb4d1f33e9f82d79c0f42997186bbdaf74cd17
parentb29e46b76552c2b1a76344602a0bcdc8ba8629da
mt76: move mt76_mcu_msg_alloc in mt76-core

Move mt76_mcu_msg_alloc in mt76-core module and remove duplicated code.
mt76_mcu_msg_alloc will be reused adding support for mt7603 driver

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/Makefile
drivers/net/wireless/mediatek/mt76/mcu.c [new file with mode: 0644]
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h
drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c