Skip to content

Commit

Permalink
lguest: struct device - replace bus_id with dev_name()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark McLoughlin authored and Rusty Russell committed Dec 29, 2008
1 parent 58a2456 commit bda53cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/lguest/lguest_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bda53cd

Please sign in to comment.