]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
netfront: Fix build failure after previous changeset
authorKeir Fraser <keir@xen.org>
Tue, 12 Oct 2010 10:03:20 +0000 (11:03 +0100)
committerKeir Fraser <keir@xen.org>
Tue, 12 Oct 2010 10:03:20 +0000 (11:03 +0100)
From: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Keir Fraser <keir@xen.org>
Acked-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/netfront/netfront.c

index e3a14b6e2925022ece9e2d61b2c813cd4e0b5f0d..cf7928c98f3f289766d5b103ce7ce3e091aa2ac4 100644 (file)
@@ -1776,7 +1776,7 @@ static void netfront_get_drvinfo(struct net_device *dev,
                                 struct ethtool_drvinfo *info)
 {
        strcpy(info->driver, "netfront");
-       strcpy(info->bus_info, dev_name(dev->dev.parent));
+       strcpy(info->bus_info, dev->class_dev.dev->bus_id);
 }
 
 static int network_connect(struct net_device *dev)