On 2018-05-20 10:15, Lorenzo Bianconi wrote: > This will be used by drivers for MT76x2u based devices > > Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@xxxxxxxxxx> > --- > drivers/net/wireless/mediatek/mt76/Makefile | 3 +- > drivers/net/wireless/mediatek/mt76/dma.h | 5 + > drivers/net/wireless/mediatek/mt76/mt76.h | 115 +++++- > drivers/net/wireless/mediatek/mt76/usb.c | 610 ++++++++++++++++++++++++++++ > 4 files changed, 731 insertions(+), 2 deletions(-) > create mode 100644 drivers/net/wireless/mediatek/mt76/usb.c > > diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile > index e1bc229e4aad..4f7f6021d79c 100644 > --- a/drivers/net/wireless/mediatek/mt76/Makefile > +++ b/drivers/net/wireless/mediatek/mt76/Makefile > @@ -3,7 +3,8 @@ obj-$(CONFIG_MT76x2_COMMON) += mt76x2-common.o > obj-$(CONFIG_MT76x2E) += mt76x2e.o > > mt76-y := \ > - mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o tx.o agg-rx.o > + mmio.o util.o trace.o dma.o mac80211.o debugfs.o eeprom.o \ > + tx.o agg-rx.o usb.o Please don't make the mt76 core module depend on USB. - Felix