git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virtio: add names to virtqueue struct, mapping from devices to queues.
[pandora-kernel.git]
/
drivers
/
virtio
/
virtio.c
diff --git
a/drivers/virtio/virtio.c
b/drivers/virtio/virtio.c
index
6b68103
..
3f52c76
100644
(file)
--- a/
drivers/virtio/virtio.c
+++ b/
drivers/virtio/virtio.c
@@
-186,6
+186,8
@@
int register_virtio_device(struct virtio_device *dev)
/* Acknowledge that we've seen the device. */
add_status(dev, VIRTIO_CONFIG_S_ACKNOWLEDGE);
+ INIT_LIST_HEAD(&dev->vqs);
+
/* device_register() causes the bus infrastructure to look for a
* matching driver. */
err = device_register(&dev->dev);