diff options
author | Christian König <christian.koenig@amd.com> | 2021-05-03 16:25:31 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-05-04 16:10:10 +0200 |
commit | f7dbd8624ec62facbb7968a6b3e0f598b4bbf166 (patch) | |
tree | eb582a0071147e629382464964372b5cd8001505 /drivers/gpu/drm/ttm | |
parent | 63358e24ee79e8f43dadb755cbe8e955230c03a1 (diff) | |
download | linux-stable-f7dbd8624ec62facbb7968a6b3e0f598b4bbf166.tar.gz linux-stable-f7dbd8624ec62facbb7968a6b3e0f598b4bbf166.tar.bz2 linux-stable-f7dbd8624ec62facbb7968a6b3e0f598b4bbf166.zip |
drm/ttm: fix warning in new sys man
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
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_sys_manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |