aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netx-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netx-eth.c')
-rw-r--r--drivers/net/netx-eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/netx-eth.c b/drivers/net/netx-eth.c
index b418771f6811..1861d5bbd96b 100644
--- a/drivers/net/netx-eth.c
+++ b/drivers/net/netx-eth.c
@@ -400,6 +400,8 @@ static int netx_eth_drv_probe(struct platform_device *pdev)
400 priv->xmac_base = priv->xc->xmac_base; 400 priv->xmac_base = priv->xc->xmac_base;
401 priv->sram_base = priv->xc->sram_base; 401 priv->sram_base = priv->xc->sram_base;
402 402
403 spin_lock_init(&priv->lock);
404
403 ret = pfifo_request(PFIFO_MASK(priv->id)); 405 ret = pfifo_request(PFIFO_MASK(priv->id));
404 if (ret) { 406 if (ret) {
405 printk("unable to request PFIFO\n"); 407 printk("unable to request PFIFO\n");