aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cpmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cpmac.c')
-rw-r--r--drivers/net/cpmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cpmac.c b/drivers/net/cpmac.c
index b85c81f60d10..9d489421535e 100644
--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
@@ -1290,8 +1290,8 @@ void __devexit cpmac_exit(void)
1290{ 1290{
1291 platform_driver_unregister(&cpmac_driver); 1291 platform_driver_unregister(&cpmac_driver);
1292 mdiobus_unregister(cpmac_mii); 1292 mdiobus_unregister(cpmac_mii);
1293 mdiobus_free(cpmac_mii);
1294 iounmap(cpmac_mii->priv); 1293 iounmap(cpmac_mii->priv);
1294 mdiobus_free(cpmac_mii);
1295} 1295}
1296 1296
1297module_init(cpmac_init); 1297module_init(cpmac_init);