aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2024-03-08 13:55:48 +0200
committerJani Nikula <[email protected]>2024-03-11 11:47:06 +0200
commit2c6f6831876acabfc917248927e7622fa789eb24 (patch)
tree52d869f470e0de8fcaec9622410fb084140dbdc1
parent4f51e057c0a28f52fc17824c628cf3123b0ef12f (diff)
drm/ttm: make ttm_caching.h self-contained
Include <linux/pgtable.h> for pgprot_t. Cc: Christian Koenig <[email protected]> Cc: Huang Rui <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/fb87ab4b4490c53e9ece66d53c4f178ead244cb5.1709898638.git.jani.nikula@intel.com
-rw-r--r--include/drm/ttm/ttm_caching.h2
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
/**