mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user