summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/Kconfig
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-07-31 10:09:12 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-08-02 20:48:04 +0200
commitd20ad58169629f2337e6876dfc30855c5c297cef (patch)
tree4d5533ec11feabc705058b5b451cfd8718e5230a /drivers/net/wireless/mediatek/mt76/Kconfig
parentmt76: introduce tx_queue_skb function pointer in mt76_bus_ops (diff)
downloadlinux-d20ad58169629f2337e6876dfc30855c5c297cef.tar.xz
linux-d20ad58169629f2337e6876dfc30855c5c297cef.zip
mt76: introduce mt76x2-common module
In order to remove usb dependency from pcie code, add mt76x2-common as a container of shared code between mt76x2 and mt76x2u. Add eeprom code to mt76x2-common module Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@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/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index fc05d79c80d0..1e5c6af6afa2 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -1,9 +1,14 @@
config MT76_CORE
tristate
+config MT76x2_COMMON
+ tristate
+ depends on MT76_CORE
+
config MT76x2E
tristate "MediaTek MT76x2E (PCIe) support"
select MT76_CORE
+ select MT76x2_COMMON
depends on MAC80211
depends on PCI
---help---