diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-04-06 20:30:11 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-04-17 06:05:29 -0400 |
commit | 6bbc2b63034af5d47a7f25e269be777347aa9e11 (patch) | |
tree | 851eb1bc2e6e0c1509c49718d116a9536237a6d9 /drivers/gpu | |
parent | 770f359ced9893365eae3be66e88fc9bb9d16412 (diff) | |
download | linux-6bbc2b63034af5d47a7f25e269be777347aa9e11.tar.bz2 |
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> |