mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/ttm: device naming cleanup
Rename ttm_bo_device to ttm_device. Rename ttm_bo_driver to ttm_device_funcs. Rename ttm_bo_global to ttm_global. Move global and device related functions to ttm_device.[ch]. No functional change. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/415222/
This commit is contained in:
@@ -111,7 +111,7 @@ static void ttm_range_man_free(struct ttm_resource_manager *man,
|
||||
|
||||
static const struct ttm_resource_manager_func ttm_range_manager_func;
|
||||
|
||||
int ttm_range_man_init(struct ttm_bo_device *bdev,
|
||||
int ttm_range_man_init(struct ttm_device *bdev,
|
||||
unsigned type, bool use_tt,
|
||||
unsigned long p_size)
|
||||
{
|
||||
@@ -138,7 +138,7 @@ int ttm_range_man_init(struct ttm_bo_device *bdev,
|
||||
}
|
||||
EXPORT_SYMBOL(ttm_range_man_init);
|
||||
|
||||
int ttm_range_man_fini(struct ttm_bo_device *bdev,
|
||||
int ttm_range_man_fini(struct ttm_device *bdev,
|
||||
unsigned type)
|
||||
{
|
||||
struct ttm_resource_manager *man = ttm_manager_type(bdev, type);
|
||||
|
||||
Reference in New Issue
Block a user