summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-04-16 16:32:50 +0200
committerFelix Fietkau <nbd@nbd.name>2020-05-12 19:52:31 +0200
commite90354e0452d33f3dc77d7f5c0ff7033f97e1fbf (patch)
tree4be4c1b12f573c5ad68129f37277a1b9f5483daf /drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
parent4fcf6e770b4487db3dbcf48993a36f16f8836680 (diff)
mt76: mt7615: move core shared code in mt7615-common module
Create mt7615-common module in order to collect shared code between usb and mmio code. Move the following source files in mt7615-common module: - main.c - init.c - mcu.c - mac.c - debugfs.c - eeprom.c - trace.c Create the following source files for mmio only source code and move them in mt7615e module: - pci_init.c - dma.c - pci_mac.c Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/Kconfig')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7615/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
index 6afd4aea67ed..16385767d8b9 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/Kconfig
@@ -1,7 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-only
+
+config MT7615_COMMON
+ tristate
+ select MT76_CORE
+
config MT7615E
tristate "MediaTek MT7615E (PCIe) support"
- select MT76_CORE
+ select MT7615_COMMON
depends on MAC80211
depends on PCI
help