diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-04-07 02:30:11 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-04-17 12:05:29 +0200 |
commit | 6bbc2b63034af5d47a7f25e269be777347aa9e11 (patch) | |
tree | 851eb1bc2e6e0c1509c49718d116a9536237a6d9 /drivers/gpu | |
parent | tools/virtio: make asm/barrier.h self contained (diff) | |
download | linux-6bbc2b63034af5d47a7f25e269be777347aa9e11.tar.xz linux-6bbc2b63034af5d47a7f25e269be777347aa9e11.zip |
virtgpu: pull in uaccess.h
In preparation to virtio header changes, include uaccess.h directly as
this file is using copy to/from user.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c index 336cc9143205..3f60bf2fe05a 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ioctl.c +++ b/drivers/gpu/drm/virtio/virtgpu_ioctl.c @@ -27,6 +27,7 @@ #include <linux/file.h> #include <linux/sync_file.h> +#include <linux/uaccess.h> #include <drm/drm_file.h> #include <drm/virtgpu_drm.h> |