[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:
Родитель
9f9b6693ed
Коммит
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 happy_meal *hp = dev_get_drvdata(&dev->dev);
|
||||||
struct net_device *net_dev = hp->dev;
|
struct net_device *net_dev = hp->dev;
|
||||||
|
|
||||||
unregister_netdevice(net_dev);
|
unregister_netdev(net_dev);
|
||||||
|
|
||||||
/* XXX qfe parent interrupt... */
|
/* XXX qfe parent interrupt... */
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче