aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-05 19:21:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-05 19:21:39 +0000
commit7d3620fda80cbf19e79a2d700bd36fc05c7ab188 (patch)
tree1e158b70973a8e83783b7e429d7502785b7a0033 /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c
parent18857b1c7ea39b95f7675902fea59a78fae8fe6c (diff)
downloadmaster-187ad058-7d3620fda80cbf19e79a2d700bd36fc05c7ab188.tar.gz
master-187ad058-7d3620fda80cbf19e79a2d700bd36fc05c7ab188.tar.bz2
master-187ad058-7d3620fda80cbf19e79a2d700bd36fc05c7ab188.zip
[ar71xx] use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15629 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c
index 878be77c9d..3ac347f6b0 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c
@@ -44,7 +44,7 @@ static void ag71xx_ethtool_get_drvinfo(struct net_device *dev,
strcpy(info->driver, ag->pdev->dev.driver->name);
strcpy(info->version, AG71XX_DRV_VERSION);
- strcpy(info->bus_info, ag->pdev->dev.bus_id);
+ strcpy(info->bus_info, dev_name(&ag->pdev->dev));
}
static u32 ag71xx_ethtool_get_msglevel(struct net_device *dev)