diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-11 02:07:25 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-11 02:07:25 -0400 |
commit | 67c4f3fa25502ce7ed82fb0307e09cf36f1f81da (patch) | |
tree | d368d796618d52361f6aced3dcf2c1beb26ceec3 /drivers/net/phy/mdio_bus.c | |
parent | 303bcb4b675d7284a1097dd1c18c995c0179883a (diff) |
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.c | 4 |
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 = { | |||
165 | .resume = mdio_bus_resume, | 165 | .resume = mdio_bus_resume, |
166 | }; | 166 | }; |
167 | 167 | ||
168 | static int __init mdio_bus_init(void) | 168 | int __init mdio_bus_init(void) |
169 | { | 169 | { |
170 | return bus_register(&mdio_bus_type); | 170 | return bus_register(&mdio_bus_type); |
171 | } | 171 | } |
172 | 172 | ||
173 | subsys_initcall(mdio_bus_init); | 173 | |