summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarcel van Nies <morcles@gmail.com>2007-04-21 15:34:10 -0700
committerDavid S. Miller <davem@davemloft.net>2007-04-21 15:34:10 -0700
commit9f9b6693ed8254177bafcb823b0ea3659d61adb0 (patch)
tree5c5394ea942ce99cf3251ef488ebe7baa4bcadec /drivers
parentd0dc1129c2e5a5a0e53940cad44333e6bd2f9af3 (diff)
[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')
-rw-r--r--drivers/net/sunlance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c
index 5b00d79b557..b0929a457b6 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);