summaryrefslogtreecommitdiffstats
path: root/drivers/net/pxa168_eth.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-09-14 16:15:29 +0200
committerTakashi Iwai <tiwai@suse.de>2010-09-14 16:15:29 +0200
commitf3fbba6efbab93b9850821d41a75b02286d18315 (patch)
treee2a680674d334c6e455d1a89a4dbfc3f549cb6d1 /drivers/net/pxa168_eth.c
parent15c5ab607045e278ebf4d2ca4aea2250617d50ca (diff)
parent147fcf1c211f1a87bf4d0711b7e9637f3d6ce080 (diff)
downloadop-kernel-dev-f3fbba6efbab93b9850821d41a75b02286d18315.zip
op-kernel-dev-f3fbba6efbab93b9850821d41a75b02286d18315.tar.gz
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'drivers/net/pxa168_eth.c')
-rw-r--r--drivers/net/pxa168_eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pxa168_eth.c b/drivers/net/pxa168_eth.c
index 410ea0a..85eddda 100644
--- a/drivers/net/pxa168_eth.c
+++ b/drivers/net/pxa168_eth.c
@@ -1606,6 +1606,8 @@ static int pxa168_eth_remove(struct platform_device *pdev)
iounmap(pep->base);
pep->base = NULL;
+ mdiobus_unregister(pep->smi_bus);
+ mdiobus_free(pep->smi_bus);
unregister_netdev(dev);
flush_scheduled_work();
free_netdev(dev);
OpenPOWER on IntegriCloud