drm/mgag200: remove the default io_mem_pfn set
authorTan Xiaojun <tanxiaojun@huawei.com>
Mon, 25 Dec 2017 03:43:27 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:35:03 +0000 (11:35 -0500)
The default interface situation has been taken into the framework, so
remove the default set of each module.

Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/mgag200/mgag200_ttm.c

index f03da63abc7b7ee0c7758cc63ea2fea6ab29495f..2d61869152d169e75f64003112a2327a455cef9c 100644 (file)
@@ -237,7 +237,6 @@ struct ttm_bo_driver mgag200_bo_driver = {
        .verify_access = mgag200_bo_verify_access,
        .io_mem_reserve = &mgag200_ttm_io_mem_reserve,
        .io_mem_free = &mgag200_ttm_io_mem_free,
-       .io_mem_pfn = ttm_bo_default_io_mem_pfn,
 };
 
 int mgag200_mm_init(struct mga_device *mdev)