From: Mark McLoughlin Date: Wed, 10 Dec 2008 17:45:39 +0000 (+0000) Subject: lguest: struct device - replace bus_id with dev_name() X-Git-Tag: v2.6.29-rc1~558^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bda53cd510b6777ced652ba279020bb7b414b744;p=linux-2.6-omap-h63xx.git lguest: struct device - replace bus_id with dev_name() bus_id is gradually being removed, so use dev_name() instead. Signed-off-by: Mark McLoughlin Cc: Kay Sievers Cc: Greg Kroah-Hartman Signed-off-by: Rusty Russell --- diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c index b02f6bcb64c..915da6b8c92 100644 --- a/drivers/lguest/lguest_device.c +++ b/drivers/lguest/lguest_device.c @@ -272,7 +272,7 @@ static struct virtqueue *lg_find_vq(struct virtio_device *vdev, * the interrupt as a source of randomness: it'd be nice to have that * back.. */ err = request_irq(lvq->config.irq, vring_interrupt, IRQF_SHARED, - vdev->dev.bus_id, vq); + dev_name(&vdev->dev), vq); if (err) goto destroy_vring;