From: Florian Fainelli Date: Mon, 9 Jan 2012 23:59:25 +0000 (+0000) Subject: phy/fixed: use an unique MDIO bus name. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e6c643bb4502c50b6511206601b7760c610dfcc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git phy/fixed: use an unique MDIO bus name. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- 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;