projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a2456
)
lguest: struct device - replace bus_id with dev_name()
author
Mark McLoughlin
<markmc@redhat.com>
Wed, 10 Dec 2008 17:45:39 +0000
(17:45 +0000)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:56:12 +0000
(09:26 +1030)
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>
drivers/lguest/lguest_device.c
patch
|
blob
|
history
diff --git
a/drivers/lguest/lguest_device.c
b/drivers/lguest/lguest_device.c
index
b02f6bc
..
915da6b
100644
(file)
--- 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;