net: fix build failure in xilinx
authorJeff Mahoney <jeffm@suse.com>
Tue, 20 Nov 2012 10:23:13 +0000 (10:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 20:51:55 +0000 (15:51 -0500)
commitaecb55be41b1bab432e81d550ebce010e7d178c6
tree2b13f82119cc38576ea248fe27516720329ede3f
parent2355a62bcbdcc4b567425bab036bfab6ade87eed
net: fix build failure in xilinx

Commit 71c6c837 (drivers/net: fix tasklet misuse issue) introduced a
build failure in the xilinx driver. axienet_dma_err_handler isn't
declared before its use in axienet_open.

This patch provides the prototype before axienet_open.

Cc: Xiaotian Feng <dannyfeng@tencent.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c