diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-09-13 09:05:50 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-11-20 13:23:48 +0100 |
commit | 0b82a8e8024b34cf99094105a44ae959c21b7534 (patch) | |
tree | 04073610751d0bd97c3fae63a59d94f554842f51 /drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | |
parent | fdb96b06040d0d410705f9b42851a75ec4106ae4 (diff) | |
download | lwn-0b82a8e8024b34cf99094105a44ae959c21b7534.tar.gz lwn-0b82a8e8024b34cf99094105a44ae959c21b7534.zip |
mt76: move queue debugfs entry to driver specific code
Move queue debugfs entry to driver specific code since mt7615 devices
rely on a different queue layout
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c index 0cb2a7b35fe5..186838128c55 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c @@ -143,6 +143,8 @@ void mt76x02_init_debugfs(struct mt76x02_dev *dev) if (!dir) return; + debugfs_create_devm_seqfile(dev->mt76.dev, "queues", dir, + mt76_queues_read); debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc); |