diff options
author | Shunsuke Mie <mie@igel.co.jp> | 2023-04-17 11:20:36 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 03:02:35 -0400 |
commit | 38fc29ea754711e9a8c4e9ca2678ab41353a4662 (patch) | |
tree | 95eac5bf79850eed1e7051422a3981da1ce78a1b /include/linux/virtio_ring.h | |
parent | abebb16254b362664452e14d9711ddb54855ddcf (diff) |
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>
Diffstat (limited to 'include/linux/virtio_ring.h')
-rw-r--r-- | include/linux/virtio_ring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h index 2550c9170f4f..9b33df741b63 100644 --- a/include/linux/virtio_ring.h +++ b/include/linux/virtio_ring.h @@ -58,6 +58,7 @@ do { \ struct virtio_device; struct virtqueue; +struct device; /* * Creates a virtqueue and allocates the descriptor ring. If |