diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2022-03-14 18:10:25 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-03-16 19:40:22 +0300 |
commit | 6cb596ba84e307930836e9533a48792095f0dd42 (patch) | |
tree | e19ef6075d26b6894fbb061ad8a5ed737b36053b /drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | |
parent | e0daf14d9f4e5fe445700fed287a16318f89d56e (diff) | |
download | linux-6cb596ba84e307930836e9533a48792095f0dd42.tar.xz |
mt76: usb: introduce __mt76u_init utility routine
Introduce __mt76u_init unitility routine and move mt7615 usb bus ops
into mt7615 module in order to allow specifying driver specific
parameter.
This is a preliminary patch to add usb support to mt7921 driver.
Tested-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/usb.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c index 2575369e44e2..55068f3252ef 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c @@ -57,7 +57,7 @@ static int mt76x2u_probe(struct usb_interface *intf, usb_set_intfdata(intf, dev); mt76x02u_init_mcu(mdev); - err = mt76u_init(mdev, intf, false); + err = mt76u_init(mdev, intf); if (err < 0) goto err; |