aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_ttm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ttm.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
index 6f5ad0802fcd..0a85e7b5d592 100644
--- a/drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/drivers/gpu/drm/radeon/radeon_ttm.c
@@ -86,7 +86,7 @@ static int radeon_ttm_global_init(struct radeon_device *rdev)
86 rdev->mman.mem_global_ref.object; 86 rdev->mman.mem_global_ref.object;
87 global_ref = &rdev->mman.bo_global_ref.ref; 87 global_ref = &rdev->mman.bo_global_ref.ref;
88 global_ref->global_type = TTM_GLOBAL_TTM_BO; 88 global_ref->global_type = TTM_GLOBAL_TTM_BO;
89 global_ref->size = sizeof(struct ttm_mem_global); 89 global_ref->size = sizeof(struct ttm_bo_global);
90 global_ref->init = &ttm_bo_global_init; 90 global_ref->init = &ttm_bo_global_init;
91 global_ref->release = &ttm_bo_global_release; 91 global_ref->release = &ttm_bo_global_release;
92 r = ttm_global_item_ref(global_ref); 92 r = ttm_global_item_ref(global_ref);