aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/virtio-rng.c2
-rw-r--r--drivers/char/virtio_console.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index 86e83f883139..2aeafcea95fe 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -94,7 +94,7 @@ static int virtrng_probe(struct virtio_device *vdev)
94 int err; 94 int err;
95 95
96 /* We expect a single virtqueue. */ 96 /* We expect a single virtqueue. */
97 vq = vdev->config->find_vq(vdev, 0, random_recv_done); 97 vq = vdev->config->find_vq(vdev, 0, random_recv_done, "input");
98 if (IS_ERR(vq)) 98 if (IS_ERR(vq))
99 return PTR_ERR(vq); 99 return PTR_ERR(vq);
100 100
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index ff6f5a4b58fb..58684e4a0814 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -202,13 +202,13 @@ static int __devinit virtcons_probe(struct virtio_device *dev)
202 /* Find the input queue. */ 202 /* Find the input queue. */
203 /* FIXME: This is why we want to wean off hvc: we do nothing 203 /* FIXME: This is why we want to wean off hvc: we do nothing
204 * when input comes in. */ 204 * when input comes in. */
205 in_vq = vdev->config->find_vq(vdev, 0, hvc_handle_input); 205 in_vq = vdev->config->find_vq(vdev, 0, hvc_handle_input, "input");
206 if (IS_ERR(in_vq)) { 206 if (IS_ERR(in_vq)) {
207 err = PTR_ERR(in_vq); 207 err = PTR_ERR(in_vq);
208 goto free; 208 goto free;
209 } 209 }
210 210
211 out_vq = vdev->config->find_vq(vdev, 1, NULL); 211 out_vq = vdev->config->find_vq(vdev, 1, NULL, "output");
212 if (IS_ERR(out_vq)) { 212 if (IS_ERR(out_vq)) {
213 err = PTR_ERR(out_vq); 213 err = PTR_ERR(out_vq);
214 goto free_in_vq; 214 goto free_in_vq;