mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-24 11:25:43 +00:00
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>
This commit is contained in:
parent
abebb16254
commit
38fc29ea75
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ do { \
|
|||
|
||||
struct virtio_device;
|
||||
struct virtqueue;
|
||||
struct device;
|
||||
|
||||
/*
|
||||
* Creates a virtqueue and allocates the descriptor ring. If
|
||||
|
|
Loading…
Reference in a new issue