sunhme fix module unload
PATCH 1/1 sunhme fix module unload
Hi all,
This patch fixes the sunhme driver.
I've tested this on my SS20.
Thanks.
Signed-off-by Marcel van Nies <[email protected]>
--- linux-2.6.21-rc7-git5-up/drivers/net/sunhme.c.org 2007-02-04
19:44:54.000000000 +0100
+++ linux-2.6.21-rc7-git5-up/drivers/net/sunhme.c 2007-04-21
19:36:09.000000000 +0200
@@ -3314,7 +3314,7 @@
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... */