mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
drm/ttm: ttm_tt_init_fields() can be static
Fixes: 75a57669cb
("drm/ttm: add ttm_sg_tt_init")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.kernel.org/patch/10263323/
This commit is contained in:
@@ -223,8 +223,9 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
|
||||
ttm->func->destroy(ttm);
|
||||
}
|
||||
|
||||
void ttm_tt_init_fields(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
||||
uint32_t page_flags)
|
||||
static void ttm_tt_init_fields(struct ttm_tt *ttm,
|
||||
struct ttm_buffer_object *bo,
|
||||
uint32_t page_flags)
|
||||
{
|
||||
ttm->bdev = bo->bdev;
|
||||
ttm->num_pages = bo->num_pages;
|
||||
|
Reference in New Issue
Block a user