diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-07-31 04:09:18 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-08-02 14:48:15 -0400 |
commit | 037804002b8a547a757bd0dd38a842186130385d (patch) | |
tree | 1d1f0e48cc321c9bfef58fc30f814b906a17dcdf | |
parent | 5f0d10ceee47530bf6ae860e8aee158523ec402d (diff) |
mt76: move mt76x2_debugfs in mt76-common module
Move mt76x2_debugfs code in mt76-common module since it is shared
between mt76x2 and mt76x2u
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/Makefile | 5 | ||||
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile index 5a9f34b14ee4..e1bc229e4aad 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile | |||
@@ -9,11 +9,12 @@ CFLAGS_trace.o := -I$(src) | |||
9 | 9 | ||
10 | mt76x2-common-y := \ | 10 | mt76x2-common-y := \ |
11 | mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \ | 11 | mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \ |
12 | mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o | 12 | mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \ |
13 | mt76x2_debugfs.o | ||
13 | 14 | ||
14 | mt76x2e-y := \ | 15 | mt76x2e-y := \ |
15 | mt76x2_pci.o mt76x2_dma.o \ | 16 | mt76x2_pci.o mt76x2_dma.o \ |
16 | mt76x2_main.o mt76x2_init.o mt76x2_debugfs.o mt76x2_tx.o \ | 17 | mt76x2_main.o mt76x2_init.o mt76x2_tx.o \ |
17 | mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \ | 18 | mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \ |
18 | mt76x2_dfs.o mt76x2_trace.o | 19 | mt76x2_dfs.o mt76x2_trace.o |
19 | 20 | ||
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c index 74725902e6dc..77b5ff1be05f 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c | |||
@@ -153,3 +153,4 @@ void mt76x2_init_debugfs(struct mt76x2_dev *dev) | |||
153 | 153 | ||
154 | debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc); | 154 | debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc); |
155 | } | 155 | } |
156 | EXPORT_SYMBOL_GPL(mt76x2_init_debugfs); | ||