mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-12 04:22:27 +01:00
phy/fixed: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
1 parent
3e617506c1
commit
9e6c643bb4
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user