Commit 2cc002c4 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David S. Miller
Browse files

netx-eth: initialize per device spinlock

The spinlock used in the netx-eth driver was never properly initialized.
This was noticed using CONFIG_DEBUG_SPINLOCK=y
Signed-off-by: default avatarUwe Kleine-König <>
Acked-by: default avatarSascha Hauer <>
Signed-off-by: default avatarDavid S. Miller <>
parent f8269a49
......@@ -401,6 +401,8 @@ static int netx_eth_drv_probe(struct platform_device *pdev)
priv->xmac_base = priv->xc->xmac_base;
priv->sram_base = priv->xc->sram_base;
ret = pfifo_request(PFIFO_MASK(priv->id));
if (ret) {
printk("unable to request PFIFO\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment