diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-04 18:22:47 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-06-25 12:55:25 +0200 |
commit | fd5f65c552f703b61caa9cd5842f88b897dcc44c (patch) | |
tree | 31b22ef29d989f6e33fc2d4d3910056af34d7348 /drivers/net/wireless/mediatek/mt76/mt7615/pci.c | |
parent | 9db1aec0c2d72a3b7b115ba56e8dbb5b46855333 (diff) | |
download | linux-stable-fd5f65c552f703b61caa9cd5842f88b897dcc44c.tar.gz linux-stable-fd5f65c552f703b61caa9cd5842f88b897dcc44c.tar.bz2 linux-stable-fd5f65c552f703b61caa9cd5842f88b897dcc44c.zip |
mt76: mt7615: Make mt7615_irq_handler static
Fix sparse warning:
drivers/net/wireless/mediatek/mt76/mt7615/pci.c:37:13:
warning: symbol 'mt7615_irq_handler' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7615/pci.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7615/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c index 10a249e13a43..e731b2bfa029 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/pci.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/pci.c @@ -34,7 +34,7 @@ void mt7615_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q) mt7615_irq_enable(dev, MT_INT_RX_DONE(q)); } -irqreturn_t mt7615_irq_handler(int irq, void *dev_instance) +static irqreturn_t mt7615_irq_handler(int irq, void *dev_instance) { struct mt7615_dev *dev = dev_instance; u32 intr; |