Skip to content

Commit 38fc29e

Browse files
ShunsukeMiemstsirkin
authored andcommitted
virtio_ring: add a struct device forward declaration
The virtio_ring header file uses the struct device without a forward declaration. Signed-off-by: Shunsuke Mie <mie@igel.co.jp> Message-Id: <20230417022037.917668-1-mie@igel.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent abebb16 commit 38fc29e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/virtio_ring.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ do { \
5858

5959
struct virtio_device;
6060
struct virtqueue;
61+
struct device;
6162

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

0 commit comments

Comments
 (0)