[SUNHME]: Fix module unload.
Signed-off-by: Marcel van Nies <morcles@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9f9b6693ed
commit
c3b99f0db9
|
@ -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... */
|
||||
|
||||
|
|
Loading…
Reference in New Issue