diff options
author | Marcel van Nies <morcles@gmail.com> | 2007-04-22 02:34:10 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-22 02:34:10 +0400 |
commit | 9f9b6693ed8254177bafcb823b0ea3659d61adb0 (patch) | |
tree | 5c5394ea942ce99cf3251ef488ebe7baa4bcadec /drivers/net/sunlance.c | |
parent | d0dc1129c2e5a5a0e53940cad44333e6bd2f9af3 (diff) | |
download | linux-9f9b6693ed8254177bafcb823b0ea3659d61adb0.tar.xz |
[SUNLANCE]: Fix module unload.
Signed-off-by: Marcel van Nies <morcles@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunlance.c')
-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 5b00d79b5573..b0929a457b60 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); |