projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e61750
)
phy/fixed: use an unique MDIO bus name.
author
Florian Fainelli
<florian@openwrt.org>
Mon, 9 Jan 2012 23:59:25 +0000
(23:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 Jan 2012 00:35:02 +0000
(16:35 -0800)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/fixed.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/fixed.c
b/drivers/net/phy/fixed.c
index 1fa4d73c3cca5e0d6ff4579abd986a910ab67305..633680d0828e64b2c96b2a335713eb17e62490bf 100644
(file)
--- a/
drivers/net/phy/fixed.c
+++ b/
drivers/net/phy/fixed.c
@@
-220,7
+220,7
@@
static int __init fixed_mdio_bus_init(void)
goto err_mdiobus_reg;
}
- snprintf(fmb->mii_bus->id, MII_BUS_ID_SIZE, "0");
+ snprintf(fmb->mii_bus->id, MII_BUS_ID_SIZE, "
fixed-
0");
fmb->mii_bus->name = "Fixed MDIO Bus";
fmb->mii_bus->priv = fmb;
fmb->mii_bus->parent = &pdev->dev;