]> xenbits.xensource.com Git - people/ssmith/netchannel2-pvops.git/commitdiff
xen/netback: use dev_name() instead of removed ->bus_id.
authorChristophe Saout <chtephan@leto.intern.saout.de>
Sun, 12 Apr 2009 11:40:27 +0000 (13:40 +0200)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 29 Jun 2009 20:47:40 +0000 (13:47 -0700)
Signed-off-by: Christophe Saout <chtephan@leto.intern.saout.de>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/netback/interface.c

index dc4fb53173b3bfd17da888153e8e16ea3262b0da..3bb5c2051c53afb1ee360bd328f8642b02784a40 100644 (file)
@@ -123,7 +123,7 @@ static void netbk_get_drvinfo(struct net_device *dev,
                              struct ethtool_drvinfo *info)
 {
        strcpy(info->driver, "netbk");
-       strcpy(info->bus_info, dev->dev.parent->bus_id);
+       strcpy(info->bus_info, dev_name(dev->dev.parent));
 }
 
 static const struct netif_stat {