[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1326189567-21663-20-git-send-email-florian@openwrt.org>
Date: Tue, 10 Jan 2012 10:59:25 +0100
From: Florian Fainelli <florian@...nwrt.org>
To: netdev@...r.kernel.org
Cc: Florian Fainelli <florian@...nwrt.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 19/21] phy/fixed: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@...nwrt.org>
---
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 1fa4d73..633680d 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;
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists