> +#ifdef __KERNEL__ > +struct gendisk; > +struct virtio_device; > + > +struct gendisk *virtblk_probe(struct virtqueue *vq); Hello Rusty, I am currently do some prototyping with virtio IV and found tis small issue in the block device. virtblk_probe requires a declaration of virtqueue, not virtio_device. --- include/linux/virtio_blk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22/include/linux/virtio_blk.h =================================================================== --- linux-2.6.22.orig/include/linux/virtio_blk.h +++ linux-2.6.22/include/linux/virtio_blk.h @@ -37,7 +37,7 @@ struct virtio_blk_inhdr #ifdef __KERNEL__ struct gendisk; -struct virtio_device; +struct virtqueue; struct gendisk *virtblk_probe(struct virtqueue *vq); void virtblk_remove(struct gendisk *disk); _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization