diff options
author | Marcel van Nies <morcles@gmail.com> | 2007-04-21 15:34:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-21 15:34:10 -0700 |
commit | 9f9b6693ed8254177bafcb823b0ea3659d61adb0 (patch) | |
tree | 5c5394ea942ce99cf3251ef488ebe7baa4bcadec | |
parent | d0dc1129c2e5a5a0e53940cad44333e6bd2f9af3 (diff) | |
download | op-kernel-dev-9f9b6693ed8254177bafcb823b0ea3659d61adb0.zip op-kernel-dev-9f9b6693ed8254177bafcb823b0ea3659d61adb0.tar.gz |
[SUNLANCE]: Fix module unload.
Signed-off-by: Marcel van Nies <morcles@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/sunlance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c index 5b00d79..b0929a4 100644 --- a/drivers/net/sunlance.c +++ b/drivers/net/sunlance.c @@ -1550,7 +1550,7 @@ static int __exit sunlance_sun4_remove(void) struct lance_private *lp = dev_get_drvdata(&sun4_sdev.ofdev.dev); struct net_device *net_dev = lp->dev; - unregister_netdevice(net_dev); + unregister_netdev(net_dev); lance_free_hwresources(lp); @@ -1590,7 +1590,7 @@ static int __devexit sunlance_sbus_remove(struct of_device *dev) struct lance_private *lp = dev_get_drvdata(&dev->dev); struct net_device *net_dev = lp->dev; - unregister_netdevice(net_dev); + unregister_netdev(net_dev); lance_free_hwresources(lp); |