diff options
author | Stephen Rothwell <[email protected]> | 2020-04-07 13:05:42 +1000 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2020-04-17 06:05:29 -0400 |
commit | 5038a5679094ca21980b668f8d86b4dfb6ebbf0d (patch) | |
tree | b2e1013a695172092270c5d418afb4fc641e0b34 | |
parent | bf02bd9ae27af53025924502060983a92f97e929 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_kms.c | 1 |
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> |