summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2020-04-07 05:05:42 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-04-17 12:05:29 +0200
commit5038a5679094ca21980b668f8d86b4dfb6ebbf0d (patch)
treeb2e1013a695172092270c5d418afb4fc641e0b34 /drivers
parentremoteproc: pull in slab.h (diff)
downloadlinux-5038a5679094ca21980b668f8d86b4dfb6ebbf0d.tar.xz
linux-5038a5679094ca21980b668f8d86b4dfb6ebbf0d.zip
drm/virtio: fix up for include file changes
virtgpu_kms now uses VIRTIO_RING_F_INDIRECT_DESC, so it must include virtio_ring.h directly. Fixes: 5edbb5608256 ("drm/virtio: fix ring free check") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/r/20200407130542.0e3b5d9d@canb.auug.org.au Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_kms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_kms.c b/drivers/gpu/drm/virtio/virtgpu_kms.c
index 023a030ca7b9..f4ea4cef5e23 100644
--- a/drivers/gpu/drm/virtio/virtgpu_kms.c
+++ b/drivers/gpu/drm/virtio/virtgpu_kms.c
@@ -25,6 +25,7 @@
#include <linux/virtio.h>
#include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
#include <drm/drm_file.h>