X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b9cdd21fc58819db209be6da19ec8552c15b9d81..9486190f3fabf8b68fd943ab814c16c303c4177b:/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)