X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0e6455bcb6e442e4a09c7809bdbbc7eb13842414..e009ba558b51013d2872c108196cf5f4aaebb4c6:/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ethtool.c 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 878be77c9..3ac347f6b 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)