aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/Kconfig
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2018-08-29 13:16:35 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-09-04 11:02:47 +0300
commit108a4861ef19af44dbec89b4f9e2ebc87b781cdc (patch)
tree891acc13d8a7279221ef0d98f2495e3a133e5ba2 /drivers/net/wireless/mediatek/mt76/Kconfig
parentmt76: merge mt76x0/regs.h into mt76x02_regs.h (diff)
downloadlinux-dev-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.tar.xz
linux-dev-108a4861ef19af44dbec89b4f9e2ebc87b781cdc.zip
mt76: create new mt76x02-lib module for common mt76x{0,2} code
Move rxfilter and mutex to common structure. Create mt76x02-lib.ko for mt76x0 and mt76x2 common functions and create new unified mt76x02_configure_filter() function there. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/Kconfig')
-rw-r--r--drivers/net/wireless/mediatek/mt76/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index b6c5f17dca30..6a270e759006 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -5,8 +5,13 @@ config MT76_USB
tristate
depends on MT76_CORE
+config MT76x02_LIB
+ tristate
+ depends on MT76_CORE
+
config MT76x2_COMMON
tristate
+ select MT76x02_LIB
depends on MT76_CORE
config MT76x0U
@@ -14,6 +19,7 @@ config MT76x0U
select MT76_CORE
depends on MAC80211
depends on USB
+ select MT76x02_LIB
help
This adds support for MT7610U-based wireless USB dongles.