summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio_bus.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-11 02:07:25 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-11 02:07:25 -0400
commit67c4f3fa25502ce7ed82fb0307e09cf36f1f81da (patch)
treed368d796618d52361f6aced3dcf2c1beb26ceec3 /drivers/net/phy/mdio_bus.c
parent303bcb4b675d7284a1097dd1c18c995c0179883a (diff)
downloadtalos-op-linux-67c4f3fa25502ce7ed82fb0307e09cf36f1f81da.tar.gz
talos-op-linux-67c4f3fa25502ce7ed82fb0307e09cf36f1f81da.zip
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).
Diffstat (limited to 'drivers/net/phy/mdio_bus.c')
-rw-r--r--drivers/net/phy/mdio_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index e75103ba6f86..5fbea6acfe80 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -165,9 +165,9 @@ struct bus_type mdio_bus_type = {
.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);
+
OpenPOWER on IntegriCloud