[SUNHME]: Fix module unload.
authorMarcel van Nies <morcles@gmail.com>
Sat, 21 Apr 2007 22:34:55 +0000 (15:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2007 22:34:55 +0000 (15:34 -0700)
Signed-off-by: Marcel van Nies <morcles@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sunhme.c

index ef67173..192bbc9 100644 (file)
@@ -3314,7 +3314,7 @@ static int __devexit hme_sbus_remove(struct of_device *dev)
        struct happy_meal *hp = dev_get_drvdata(&dev->dev);
        struct net_device *net_dev = hp->dev;
 
-       unregister_netdevice(net_dev);
+       unregister_netdev(net_dev);
 
        /* XXX qfe parent interrupt... */