mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +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
@ -58,6 +58,7 @@ do { \
|
||||
|
||||
struct virtio_device;
|
||||
struct virtqueue;
|
||||
struct device;
|
||||
|
||||
/*
|
||||
* Creates a virtqueue and allocates the descriptor ring. If
|
||||
|
Loading…
Reference in New Issue
Block a user