Skip to contentSkip to conversation

sunhme fix module unload

PATCH New Marcel van Nies 1 participant 1 message Apr 21, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunhme fix module unload

Hi all,

This patch fixes the sunhme driver.

I've tested this on my SS20.
Thanks.

--- 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... */