summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-12-03 14:17:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-12-03 14:17:12 +0000
commit8a7e19e7db87368c5197771979f9ba93309d3286 (patch)
treec3aa916bb0db4eb2cc3151c1d569756054faf962 /target/linux/ar71xx/files
parenta1e1fc7707a9b85966630c68b5acc63cb22dce15 (diff)
downloadmtk-20170518-8a7e19e7db87368c5197771979f9ba93309d3286.zip
mtk-20170518-8a7e19e7db87368c5197771979f9ba93309d3286.tar.gz
mtk-20170518-8a7e19e7db87368c5197771979f9ba93309d3286.tar.bz2
ar71xx: change mii_bus name
SVN-Revision: 18619
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c
index b6fccbb..d3ff13e 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c
@@ -187,7 +187,7 @@ static int __init ag71xx_mdio_probe(struct platform_device *pdev)
am->mii_bus->irq = am->mii_irq;
am->mii_bus->priv = am;
am->mii_bus->parent = &pdev->dev;
- snprintf(am->mii_bus->id, MII_BUS_ID_SIZE, "%x", 0);
+ snprintf(am->mii_bus->id, MII_BUS_ID_SIZE, "%s", dev_name(&pdev->dev));
am->mii_bus->phy_mask = pdata->phy_mask;
for (i = 0; i < PHY_MAX_ADDR; i++)