From: Florian Fainelli Date: Mon, 9 Jan 2012 23:59:21 +0000 (+0000) Subject: cpmac: use an unique MDIO bus name. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1733f078b1b3777fed8e8fe598e7f10f28f59fb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpmac: use an unique MDIO bus name. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c index aaac0c7ad111..4d9a28ffd3c3 100644 --- a/drivers/net/ethernet/ti/cpmac.c +++ b/drivers/net/ethernet/ti/cpmac.c @@ -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)