aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2021-08-12 15:34:43 -0500
committerChristian König <christian.koenig@amd.com>2021-08-16 14:44:05 +0200
commit80cbd8808f85017b8aff4b223db68926b470be12 (patch)
treed84708062dce7b156f12f6a091df5f40239ebfa0 /drivers/gpu/drm/ttm
parentdrm/ttm: ttm_bo_device is now ttm_device (diff)
downloadlinux-dev-80cbd8808f85017b8aff4b223db68926b470be12.tar.xz
linux-dev-80cbd8808f85017b8aff4b223db68926b470be12.zip
drm/ttm: Include pagemap.h from ttm_tt.h
It's needed for pgprot_t which is used in the header. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Cc: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210812203443.1725307-2-jason@jlekstrand.net Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_tt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
index 24031a8acd2d..d5cd8b5dc0bf 100644
--- a/drivers/gpu/drm/ttm/ttm_tt.c
+++ b/drivers/gpu/drm/ttm/ttm_tt.c
@@ -32,7 +32,6 @@
#define pr_fmt(fmt) "[TTM] " fmt
#include <linux/sched.h>
-#include <linux/pagemap.h>
#include <linux/shmem_fs.h>
#include <linux/file.h>
#include <drm/drm_cache.h>