OSDN Git Service

mt76: fix build for MediaTek MT7610U USB wireless dongle
authorValdis Kletnieks <valdis.kletnieks@vt.edu>
Wed, 8 Aug 2018 20:16:54 +0000 (16:16 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 9 Aug 2018 15:12:28 +0000 (18:12 +0300)
The mt76x0 driver requires the mt76 core driver to actually function.
So add a 'select' to avoid embarrassing 'symbol unknown' errors
when attempting to modprobe it in a module tree that doesn't
include mt76.ko

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/Kconfig

index 850611a..b6c5f17 100644 (file)
@@ -11,6 +11,7 @@ config MT76x2_COMMON
 
 config MT76x0U
        tristate "MediaTek MT76x0U (USB) support"
+       select MT76_CORE
        depends on MAC80211
        depends on USB
        help