diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-03-08 13:55:48 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-11 11:47:06 +0200 |
commit | 2c6f6831876acabfc917248927e7622fa789eb24 (patch) | |
tree | 52d869f470e0de8fcaec9622410fb084140dbdc1 /include/drm/ttm | |
parent | 4f51e057c0a28f52fc17824c628cf3123b0ef12f (diff) | |
download | linux-stable-2c6f6831876acabfc917248927e7622fa789eb24.tar.gz linux-stable-2c6f6831876acabfc917248927e7622fa789eb24.tar.bz2 linux-stable-2c6f6831876acabfc917248927e7622fa789eb24.zip |
drm/ttm: make ttm_caching.h self-contained
Include <linux/pgtable.h> for pgprot_t.
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Huang Rui <ray.huang@amd.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fb87ab4b4490c53e9ece66d53c4f178ead244cb5.1709898638.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_caching.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_caching.h b/include/drm/ttm/ttm_caching.h index 235a743d90e1..a18f43e93aba 100644 --- a/include/drm/ttm/ttm_caching.h +++ b/include/drm/ttm/ttm_caching.h @@ -25,6 +25,8 @@ #ifndef _TTM_CACHING_H_ #define _TTM_CACHING_H_ +#include <linux/pgtable.h> + #define TTM_NUM_CACHING_TYPES 3 /** |