From: Mark McLoughlin <markmc@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
lguest@ozlabs.org, Jiri Slaby <jirislaby@gmail.com>,
Greg KH <gregkh@suse.de>, Mark McLoughlin <markmc@redhat.com>,
Kay Sievers <kay.sievers@vrfy.org>
Subject: [PATCH 2/2] lguest: struct device - replace bus_id with dev_name()
Date: Mon, 8 Dec 2008 11:51:46 +0000 [thread overview]
Message-ID: <1228737106-20034-2-git-send-email-markmc@redhat.com> (raw)
In-Reply-To: <1228737106-20034-1-git-send-email-markmc@redhat.com>
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>
---
drivers/lguest/lguest_device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c
index 40fa973..3a1440a 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;
--
1.5.4.3
prev parent reply other threads:[~2008-12-08 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 11:51 [PATCH 1/2] lguest: do not statically allocate root device Mark McLoughlin
2008-12-08 11:51 ` Mark McLoughlin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1228737106-20034-2-git-send-email-markmc@redhat.com \
--to=markmc@redhat.com \
--cc=gregkh@suse.de \
--cc=jirislaby@gmail.com \
--cc=kay.sievers@vrfy.org \
--cc=lguest@ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome