diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-09 18:59:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-10 19:35:02 -0500 |
commit | 9e6c643bb4502c50b6511206601b7760c610dfcc (patch) | |
tree | 4a5877bb5ce15ed3976d5b7d31d5077b5db49753 | |
parent | 3e617506c17df5cba55d7c615ec7cfbc812ec5fa (diff) |
phy/fixed: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c index 1fa4d73c3cca..633680d0828e 100644 --- a/drivers/net/phy/fixed.c +++ b/drivers/net/phy/fixed.c | |||
@@ -220,7 +220,7 @@ static int __init fixed_mdio_bus_init(void) | |||
220 | goto err_mdiobus_reg; | 220 | goto err_mdiobus_reg; |
221 | } | 221 | } |
222 | 222 | ||
223 | snprintf(fmb->mii_bus->id, MII_BUS_ID_SIZE, "0"); | 223 | snprintf(fmb->mii_bus->id, MII_BUS_ID_SIZE, "fixed-0"); |
224 | fmb->mii_bus->name = "Fixed MDIO Bus"; | 224 | fmb->mii_bus->name = "Fixed MDIO Bus"; |
225 | fmb->mii_bus->priv = fmb; | 225 | fmb->mii_bus->priv = fmb; |
226 | fmb->mii_bus->parent = &pdev->dev; | 226 | fmb->mii_bus->parent = &pdev->dev; |