diff options
author | Felipe Balbi <balbi@ti.com> | 2015-01-19 12:52:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-19 14:45:00 -0500 |
commit | 92cb13fb21c60b3567c7bb7e55be7c38dc6bda38 (patch) | |
tree | 150c41854d91061176efea87479191de1f4f5258 /drivers/net/ethernet/ti | |
parent | 7f9091f0a76c915a8d5442ef380d60bca1ba5464 (diff) |
net: ethernet: ti: cpsw: fix buld break when NET_POLL_CONTROLLER
Commit c03abd84634d (net: ethernet: cpsw: don't requests IRQs we don't
use) left one build breakage when NET_POLL_CONTROLLER is enabled.
Fix this build break by referring to the correct irqs_table array.
Fixes: c03abd84634d (net: ethernet: cpsw: don't requests IRQs we don't use)
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 4f508aa782c5..a1ba3a0c28da 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c | |||
@@ -1632,8 +1632,8 @@ static void cpsw_ndo_poll_controller(struct net_device *ndev) | |||
1632 | 1632 | ||
1633 | cpsw_intr_disable(priv); | 1633 | cpsw_intr_disable(priv); |
1634 | cpdma_ctlr_int_ctrl(priv->dma, false); | 1634 | cpdma_ctlr_int_ctrl(priv->dma, false); |
1635 | cpsw_rx_interrupt(priv->irq[0], priv); | 1635 | cpsw_rx_interrupt(priv->irqs_table[0], priv); |
1636 | cpsw_tx_interrupt(priv->irq[1], priv); | 1636 | cpsw_tx_interrupt(priv->irqs_table[1], priv); |
1637 | cpdma_ctlr_int_ctrl(priv->dma, true); | 1637 | cpdma_ctlr_int_ctrl(priv->dma, true); |
1638 | cpsw_intr_enable(priv); | 1638 | cpsw_intr_enable(priv); |
1639 | } | 1639 | } |