drm/virtio: fix up for include file changes
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2020 03:05:42 +0000 (13:05 +1000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Apr 2020 10:05:29 +0000 (06:05 -0400)
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>
drivers/gpu/drm/virtio/virtgpu_kms.c

index 023a030..f4ea4ce 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/virtio.h>
 #include <linux/virtio_config.h>
+#include <linux/virtio_ring.h>
 
 #include <drm/drm_file.h>