OSDN Git Service

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)
commit92cb13fb21c60b3567c7bb7e55be7c38dc6bda38
tree150c41854d91061176efea87479191de1f4f5258
parent7f9091f0a76c915a8d5442ef380d60bca1ba5464
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>
drivers/net/ethernet/ti/cpsw.c