summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-09 23:59:25 +0000
committerDavid S. Miller <davem@davemloft.net>2012-01-10 16:35:02 -0800
commit9e6c643bb4502c50b6511206601b7760c610dfcc (patch)
tree4a5877bb5ce15ed3976d5b7d31d5077b5db49753 /drivers/net
parent3e617506c17df5cba55d7c615ec7cfbc812ec5fa (diff)
downloadblackbird-op-linux-9e6c643bb4502c50b6511206601b7760c610dfcc.tar.gz
blackbird-op-linux-9e6c643bb4502c50b6511206601b7760c610dfcc.zip
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/fixed.c2
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)
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;
OpenPOWER on IntegriCloud