summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/openchrome
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2020-10-27 15:38:38 -0700
committerKevin Brace <kevinbrace@gmx.com>2020-10-27 15:38:38 -0700
commitb81adb8484ca0a47d2d054b79bc0e46c2105af62 (patch)
tree32733ac340cc52573e4509bdc2d24ae76578f08a /drivers/gpu/drm/openchrome
parent9c3bf6500f9d9d72fdb4150f417906dac5af789e (diff)
drm/ttm: rename ttm_mem_reg to ttm_resource.
Based on commit 2966141 (drm/ttm: rename ttm_mem_reg to ttm_resource.). Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'drivers/gpu/drm/openchrome')
-rw-r--r--drivers/gpu/drm/openchrome/openchrome_ttm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/openchrome/openchrome_ttm.c b/drivers/gpu/drm/openchrome/openchrome_ttm.c
index b6421f7be406..7c6f77c38a79 100644
--- a/drivers/gpu/drm/openchrome/openchrome_ttm.c
+++ b/drivers/gpu/drm/openchrome/openchrome_ttm.c
@@ -111,7 +111,7 @@ static int openchrome_bo_verify_access(struct ttm_buffer_object *bo,
}
static int openchrome_bo_io_mem_reserve(struct ttm_bo_device *bdev,
- struct ttm_mem_reg *mem)
+ struct ttm_resource *mem)
{
struct openchrome_drm_private *dev_private = container_of(bdev,
struct openchrome_drm_private, bdev);
@@ -144,7 +144,7 @@ static int openchrome_bo_io_mem_reserve(struct ttm_bo_device *bdev,
}
static void openchrome_bo_io_mem_free(struct ttm_bo_device *bdev,
- struct ttm_mem_reg *mem)
+ struct ttm_resource *mem)
{
DRM_DEBUG_KMS("Entered %s.\n", __func__);