Commit bcb3336c authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by David S. Miller
Browse files

mv643xx_eth: fix the order of mdiobus_{unregister, free}() calls

Signed-off-by: default avatarLennert Buytenhek <>
Signed-off-by: default avatarDavid S. Miller <>
parent fb5e2f9b
......@@ -2435,8 +2435,8 @@ static int mv643xx_eth_shared_remove(struct platform_device *pdev)
struct mv643xx_eth_shared_platform_data *pd = pdev->dev.platform_data;
if (pd == NULL || pd->shared_smi == NULL) {
if (msp->err_interrupt != NO_IRQ)
free_irq(msp->err_interrupt, msp);
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