diff mbox series

drm/ttm: fix warning in new sys man

Message ID 20210503142710.153369-1-christian.koenig@amd.com (mailing list archive)
State New, archived
Headers show
Series drm/ttm: fix warning in new sys man | expand

Commit Message

Christian König May 3, 2021, 2:27 p.m. UTC
Include the header for the prototype.

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

Comments

Matthew Auld May 4, 2021, 9:16 a.m. UTC | #1
On 03/05/2021 15:27, Christian König wrote:
> 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>
diff mbox series

Patch

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,