Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1733f07 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

cpmac: use an unique MDIO bus name.

parent db8857bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1269,7 +1269,7 @@ int __devinit cpmac_init(void)
	}

	cpmac_mii->phy_mask = ~(mask | 0x80000000);
	snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "1");
	snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "cpmac-1");

	res = mdiobus_register(cpmac_mii);
	if (res)