]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: fix buld break when NET_POLL_CONTROLLER
authorFelipe Balbi <balbi@ti.com>
Mon, 19 Jan 2015 17:52:36 +0000 (11:52 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2015 19:45:00 +0000 (14:45 -0500)
commitc8d7d265187abcf5555c2a81d97b500a92ce4419
tree150c41854d91061176efea87479191de1f4f5258
parent56d59ff7f7f537b22093d48a12d040d8c6d090d4
net: ethernet: ti: cpsw: fix buld break when NET_POLL_CONTROLLER

Commit 7ed504b33cf4 (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: 7ed504b33cf4 (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>
drivers/net/ethernet/ti/cpsw.c