mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-06 19:51:13 +00:00
[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 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... */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user