summaryrefslogtreecommitdiff
path: root/drivers/lguest
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-12-10 17:45:39 +0000
committerRusty Russell <rusty@rustcorp.com.au>2008-12-30 09:26:12 +1030
commitbda53cd510b6777ced652ba279020bb7b414b744 (patch)
tree799b1ec6d9b8be1cdeb4f41789101c3944427e9c /drivers/lguest
parent58a24566449892dda409b9ad92c2e56c76c5670c (diff)
downloadlwn-bda53cd510b6777ced652ba279020bb7b414b744.tar.gz
lwn-bda53cd510b6777ced652ba279020bb7b414b744.zip
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 <markmc@redhat.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest')
-rw-r--r--drivers/lguest/lguest_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c
index b02f6bcb64c4..915da6b8c924 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;