From: Marcel van Nies Date: Sat, 21 Apr 2007 22:34:55 +0000 (-0700) Subject: [SUNHME]: Fix module unload. X-Git-Tag: v2.6.21~34^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b99f0db9b2ef4292ef774bae1ea0d6f1e8d82a;p=linux-2.6 [SUNHME]: Fix module unload. Signed-off-by: Marcel van Nies Signed-off-by: David S. Miller --- diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index ef671739cf..192bbc91c7 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c @@ -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... */