summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-10 00:59:25 +0100
committerDavid S. Miller <davem@davemloft.net>2012-01-11 01:35:02 +0100
commit9e6c643bb4502c50b6511206601b7760c610dfcc (patch)
tree4a5877bb5ce15ed3976d5b7d31d5077b5db49753 /drivers
parentbcm63xx_enet: use an unique MDIO bus name. (diff)
downloadlinux-9e6c643bb4502c50b6511206601b7760c610dfcc.tar.xz
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')
-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;