summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7921/dma.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-03-02 16:32:57 +0100
committerFelix Fietkau <nbd@nbd.name>2022-03-16 17:40:22 +0100
commit11a72265928f679c3ffabd15c97b3ef8e910e205 (patch)
tree44925fc396842caa3ad141dda6cd9ed84c951c34 /drivers/net/wireless/mediatek/mt76/mt7921/dma.c
parentmt76: split single ldpc cap bit into bits (diff)
downloadlinux-11a72265928f679c3ffabd15c97b3ef8e910e205.tar.xz
linux-11a72265928f679c3ffabd15c97b3ef8e910e205.zip
mt76: mt7921: make mt7921_init_tx_queues static
mt7921 is only used in mt7921_dma_init routine. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7921/dma.c')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7921/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/dma.c b/drivers/net/wireless/mediatek/mt76/mt7921/dma.c
index 39d6ce4ecddd..ca7e20fb5fc0 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/dma.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/dma.c
@@ -5,7 +5,7 @@
#include "../dma.h"
#include "mac.h"
-int mt7921_init_tx_queues(struct mt7921_phy *phy, int idx, int n_desc)
+static int mt7921_init_tx_queues(struct mt7921_phy *phy, int idx, int n_desc)
{
int i, err;