drm/ttm: fix warning in new sys man
authorChristian König <christian.koenig@amd.com>
Mon, 3 May 2021 14:25:31 +0000 (16:25 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 4 May 2021 14:10:10 +0000 (16:10 +0200)
Include the header for the prototype.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210503142710.153369-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_sys_manager.c

index f754d2c..474221e 100644 (file)
@@ -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,