Commit 38fc29ea authored by Shunsuke Mie's avatar Shunsuke Mie Committed by Michael S. Tsirkin
Browse files

virtio_ring: add a struct device forward declaration



The virtio_ring header file uses the struct device without a forward
declaration.

Signed-off-by: default avatarShunsuke Mie <mie@igel.co.jp>
Message-Id: <20230417022037.917668-1-mie@igel.co.jp>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent abebb162
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ do { \

struct virtio_device;
struct virtqueue;
struct device;

/*
 * Creates a virtqueue and allocates the descriptor ring.  If