]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/arm/at91_ether.c
arm: bus_id -> dev_name() and dev_set_name() conversions
[linux-2.6-omap-h63xx.git] / drivers / net / arm / at91_ether.c
index 1e39e78f1778c5228d7e6345005e900a347ccbff..71f7cec309118986cc05f51806d82ebdfa4f3003 100644 (file)
@@ -677,7 +677,7 @@ static void at91ether_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo
 {
        strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
        strlcpy(info->version, DRV_VERSION, sizeof(info->version));
-       strlcpy(info->bus_info, dev->dev.parent->bus_id, sizeof(info->bus_info));
+       strlcpy(info->bus_info, dev_name(dev->dev.parent), sizeof(info->bus_info));
 }
 
 static const struct ethtool_ops at91ether_ethtool_ops = {