Commit 2869e82e authored by Christian König's avatar Christian König

drm/ttm: ttm_tt_init_fields() can be static

Fixes: 75a57669 ("drm/ttm: add ttm_sg_tt_init")
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.kernel.org/patch/10263323/
parent caa478af
...@@ -223,8 +223,9 @@ void ttm_tt_destroy(struct ttm_tt *ttm) ...@@ -223,8 +223,9 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
ttm->func->destroy(ttm); ttm->func->destroy(ttm);
} }
void ttm_tt_init_fields(struct ttm_tt *ttm, struct ttm_buffer_object *bo, static void ttm_tt_init_fields(struct ttm_tt *ttm,
uint32_t page_flags) struct ttm_buffer_object *bo,
uint32_t page_flags)
{ {
ttm->bdev = bo->bdev; ttm->bdev = bo->bdev;
ttm->num_pages = bo->num_pages; ttm->num_pages = bo->num_pages;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment