Fix numerous minor problems with new phy subsystem.
Includes fixes for problems noted by Adrian Bunk, Andrew Morton,
and one other person lost in the annals of history (and email folders).
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index e75103b..5fbea6a 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -165,9 +165,9 @@
.resume = mdio_bus_resume,
};
-static int __init mdio_bus_init(void)
+int __init mdio_bus_init(void)
{
return bus_register(&mdio_bus_type);
}
-subsys_initcall(mdio_bus_init);
+