mt76x2: move mt76x2 mcu shared code in mt76x2_mcu_common.c
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 9 Sep 2018 21:58:03 +0000 (23:58 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:40 +0000 (12:31 +0200)
commitbc3669017282cee1cde0e770956723fcb532cc55
tree16fa66b9575eea89882f3dd995c1012f92eb150a
parent36fd09dd0fa4cb60f7fb0971b7e26c1fad8499ce
mt76x2: move mt76x2 mcu shared code in mt76x2_mcu_common.c

Move shared mt76x2 {pcie/usb} mcu shared code in a common file
and remove duplicated code

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/mt76x2_mcu.c
drivers/net/wireless/mediatek/mt76/mt76x2_mcu_common.c [new file with mode: 0644]
drivers/net/wireless/mediatek/mt76/mt76x2u.h
drivers/net/wireless/mediatek/mt76/mt76x2u_init.c
drivers/net/wireless/mediatek/mt76/mt76x2u_mcu.c
drivers/net/wireless/mediatek/mt76/mt76x2u_phy.c