Commit 4886b5b4 authored by Linus Torvalds's avatar Linus Torvalds
parents cbeb2864 d9d8e041
...@@ -491,7 +491,7 @@ static int gfar_remove(struct of_device *ofdev) ...@@ -491,7 +491,7 @@ static int gfar_remove(struct of_device *ofdev)
dev_set_drvdata(&ofdev->dev, NULL); dev_set_drvdata(&ofdev->dev, NULL);
unregister_netdev(dev); unregister_netdev(priv->ndev);
iounmap(priv->regs); iounmap(priv->regs);
free_netdev(priv->ndev); free_netdev(priv->ndev);
......
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