summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2012-11-20 10:23:13 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-20 15:51:55 -0500
commitaecb55be41b1bab432e81d550ebce010e7d178c6 (patch)
tree2b13f82119cc38576ea248fe27516720329ede3f /drivers/net/ethernet
parent2355a62bcbdcc4b567425bab036bfab6ade87eed (diff)
downloadblackbird-op-linux-aecb55be41b1bab432e81d550ebce010e7d178c6.tar.gz
blackbird-op-linux-aecb55be41b1bab432e81d550ebce010e7d178c6.zip
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>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_axienet_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
index 77e6db9dcfed..a788501e978e 100644
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
+++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c
@@ -894,6 +894,8 @@ out:
return IRQ_HANDLED;
}
+static void axienet_dma_err_handler(unsigned long data);
+
/**
* axienet_open - Driver open routine.
* @ndev: Pointer to net_device structure
OpenPOWER on IntegriCloud