diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-07 20:40:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-07 20:40:24 +0200 |
commit | 4886b5b485ec78fe4a16fedaccfab39bdf55410f (patch) | |
tree | 3946e0e444311245db5248bac6658e9b8082f269 | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6 (diff) | |
parent | gianfar: Fix build. (diff) | |
download | linux-4886b5b485ec78fe4a16fedaccfab39bdf55410f.tar.xz linux-4886b5b485ec78fe4a16fedaccfab39bdf55410f.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
gianfar: Fix build.
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 24f7ca5e17de..a00ec639c380 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c @@ -491,7 +491,7 @@ static int gfar_remove(struct of_device *ofdev) dev_set_drvdata(&ofdev->dev, NULL); - unregister_netdev(dev); + unregister_netdev(priv->ndev); iounmap(priv->regs); free_netdev(priv->ndev); |