[PATCH] drm/ttm: fix warning in new sys man

Christian König ckoenig.leichtzumerken at gmail.com
Mon May 3 14:27:10 UTC 2021


Include the header for the prototype.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reported-by: kernel test robot <lkp at intel.com>
---
 drivers/gpu/drm/ttm/ttm_sys_manager.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/ttm/ttm_sys_manager.c b/drivers/gpu/drm/ttm/ttm_sys_manager.c
index f754d2c965f1..474221e863d0 100644
--- a/drivers/gpu/drm/ttm/ttm_sys_manager.c
+++ b/drivers/gpu/drm/ttm/ttm_sys_manager.c
@@ -4,6 +4,8 @@
 #include <drm/ttm/ttm_device.h>
 #include <drm/ttm/ttm_placement.h>
 
+#include "ttm_module.h"
+
 static int ttm_sys_man_alloc(struct ttm_resource_manager *man,
 			     struct ttm_buffer_object *bo,
 			     const struct ttm_place *place,
-- 
2.25.1



More information about the dri-devel mailing list