diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-12-03 14:17:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-12-03 14:17:12 +0000 |
commit | d18aa81fca695adaea88a309cfd9b5ad3a342b36 (patch) | |
tree | 413aaafed7bf9a4d4d6adf369d2e06143ac29b96 /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c | |
parent | 9fabd9c541f2a3eef9f0d8fb8ef50dff13a4b680 (diff) | |
download | master-187ad058-d18aa81fca695adaea88a309cfd9b5ad3a342b36.tar.gz master-187ad058-d18aa81fca695adaea88a309cfd9b5ad3a342b36.tar.bz2 master-187ad058-d18aa81fca695adaea88a309cfd9b5ad3a342b36.zip |
ar71xx: change mii_bus name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18619 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_mdio.c | 2 |
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 b6fccbbcd6..d3ff13ec4f 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++) |