Skip to content

Commit 80cbd88

Browse files
gfxstrandChristianKoenigAMD
authored andcommitted
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 <[email protected]> Cc: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Christian König <[email protected]> Signed-off-by: Christian König <[email protected]>
1 parent bd4dada commit 80cbd88

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

drivers/gpu/drm/ttm/ttm_tt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#define pr_fmt(fmt) "[TTM] " fmt
3333

3434
#include <linux/sched.h>
35-
#include <linux/pagemap.h>
3635
#include <linux/shmem_fs.h>
3736
#include <linux/file.h>
3837
#include <drm/drm_cache.h>

include/drm/ttm/ttm_tt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#ifndef _TTM_TT_H_
2828
#define _TTM_TT_H_
2929

30+
#include <linux/pagemap.h>
3031
#include <linux/types.h>
3132
#include <drm/ttm/ttm_caching.h>
3233
#include <drm/ttm/ttm_kmap_iter.h>

0 commit comments

Comments
 (0)