From e5ae842dc334a71532018a934e162e05097a84fd Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 12 Oct 2010 11:03:20 +0100 Subject: [PATCH] netfront: Fix build failure after previous changeset From: Ian Campbell Signed-off-by: Keir Fraser Acked-by: Jan Beulich --- drivers/xen/netfront/netfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5