drm/bochs: remove the default io_mem_pfn set
authorTan Xiaojun <tanxiaojun@huawei.com>
Mon, 25 Dec 2017 03:43:25 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:34:51 +0000 (11:34 -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/bochs/bochs_mm.c

index 8250b5e612d25f22b3a826aaf9c9c3c7a9a5f459..704e879711e4f74a7b275a76019c283a1140df42 100644 (file)
@@ -205,7 +205,6 @@ struct ttm_bo_driver bochs_bo_driver = {
        .verify_access = bochs_bo_verify_access,
        .io_mem_reserve = &bochs_ttm_io_mem_reserve,
        .io_mem_free = &bochs_ttm_io_mem_free,
-       .io_mem_pfn = ttm_bo_default_io_mem_pfn,
 };
 
 int bochs_mm_init(struct bochs_device *bochs)