mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-22 23:13:01 +02: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
|
@ -58,6 +58,7 @@ do { \
|
||||||
|
|
||||||
struct virtio_device;
|
struct virtio_device;
|
||||||
struct virtqueue;
|
struct virtqueue;
|
||||||
|
struct device;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a virtqueue and allocates the descriptor ring. If
|
* Creates a virtqueue and allocates the descriptor ring. If
|
||||||
|
|
Loading…
Reference in New Issue
Block a user