From: Keir Fraser Date: Tue, 12 Oct 2010 10:03:20 +0000 (+0100) Subject: netfront: Fix build failure after previous changeset X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e5ae842dc334a71532018a934e162e05097a84fd;p=legacy%2Flinux-2.6.18-xen.git netfront: Fix build failure after previous changeset From: Ian Campbell Signed-off-by: Keir Fraser Acked-by: Jan Beulich --- diff --git a/drivers/xen/netfront/netfront.c b/drivers/xen/netfront/netfront.c index e3a14b6e..cf7928c9 100644 --- a/drivers/xen/netfront/netfront.c +++ b/drivers/xen/netfront/netfront.c @@ -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)