]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mt76: move mt76x2_debugfs in mt76-common module
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Tue, 31 Jul 2018 08:09:18 +0000 (10:09 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 2 Aug 2018 18:48:15 +0000 (21:48 +0300)
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>
drivers/net/wireless/mediatek/mt76/Makefile
drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c

index 5a9f34b14ee49cfb87587227065f6c5ec8f2446b..e1bc229e4aad23d358e750e546517fcb40ce6878 100644 (file)
@@ -9,11 +9,12 @@ CFLAGS_trace.o := -I$(src)
 
 mt76x2-common-y := \
        mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \
-       mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o
+       mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \
+       mt76x2_debugfs.o
 
 mt76x2e-y := \
        mt76x2_pci.o mt76x2_dma.o \
-       mt76x2_main.o mt76x2_init.o mt76x2_debugfs.o mt76x2_tx.o \
+       mt76x2_main.o mt76x2_init.o mt76x2_tx.o \
        mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \
        mt76x2_dfs.o mt76x2_trace.o
 
index 74725902e6dc7587f530ca6d75ceb86b170c8dbb..77b5ff1be05f864ceb33adcbdd298c4c9a8b4b5e 100644 (file)
@@ -153,3 +153,4 @@ void mt76x2_init_debugfs(struct mt76x2_dev *dev)
 
        debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc);
 }
+EXPORT_SYMBOL_GPL(mt76x2_init_debugfs);