]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/enc28j60.c
net: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6-omap-h63xx.git] / drivers / net / enc28j60.c
index d186a52cdb62831000286e7e7d3fd111f0b5f875..32c19790d0135f921ab8f89d90909a04fcffa057 100644 (file)
@@ -1448,7 +1448,7 @@ enc28j60_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
        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));
+               dev_name(dev->dev.parent), sizeof(info->bus_info));
 }
 
 static int