[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 ef671739cfeaaa0f611a6e24a77febf6048b0d5e..192bbc91c73189e76f2a19e6b189fd8f713c1be2 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... */