diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-01-10 03:59:25 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-11 04:35:02 +0400 |
commit | 9e6c643bb4502c50b6511206601b7760c610dfcc (patch) | |
tree | 4a5877bb5ce15ed3976d5b7d31d5077b5db49753 | |
parent | 3e617506c17df5cba55d7c615ec7cfbc812ec5fa (diff) | |
download | linux-9e6c643bb4502c50b6511206601b7760c610dfcc.tar.xz |
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) 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; |