diff options
author | John Crispin <john@phrozen.org> | 2016-07-02 08:00:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-02 15:22:29 -0400 |
commit | 8186f6e382d8719d0a4bc0ef218c4dd7cf55b496 (patch) | |
tree | 2da11ffacf4410d21d578f7db6c154dd26f50fee /drivers/net/ethernet/mediatek | |
parent | d624e1586c4f413058d44e19457e85e8e0c61c67 (diff) | |
download | linux-8186f6e382d8719d0a4bc0ef218c4dd7cf55b496.tar.gz linux-8186f6e382d8719d0a4bc0ef218c4dd7cf55b496.tar.bz2 linux-8186f6e382d8719d0a4bc0ef218c4dd7cf55b496.zip |
net-next: mediatek: fix compile error inside mtk_poll_controller()
commit 8067302973a1 ("net-next: mediatek: add support for IRQ grouping")
failed to properly update the irq handling inside mtk_poll_controller()
causing compile errors if netconsole was enabled. Fix this by updating
the code to use the new separated irq handler function for RX.
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 7056a375b329..fbab9b27519b 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -1297,7 +1297,7 @@ static void mtk_poll_controller(struct net_device *dev) u32 int_mask = MTK_TX_DONE_INT | MTK_RX_DONE_INT; mtk_irq_disable(eth, int_mask); - mtk_handle_irq(dev->irq[0], dev); + mtk_handle_irq_rx(eth->irq[2], dev); mtk_irq_enable(eth, int_mask); } #endif |