From 56a91d20b64e7a5486b442dbc7604455bb81880b Mon Sep 17 00:00:00 2001 From: Tan Xiaojun Date: Mon, 25 Dec 2017 11:43:31 +0800 Subject: [PATCH] drm/virtio: remove the default io_mem_pfn set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The default interface situation has been taken into the framework, so remove the default set of each module. Signed-off-by: Tan Xiaojun Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/virtio/virtgpu_ttm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c index 488c6bd..43483e9 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ttm.c +++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c @@ -430,7 +430,6 @@ static struct ttm_bo_driver virtio_gpu_bo_driver = { .verify_access = &virtio_gpu_verify_access, .io_mem_reserve = &virtio_gpu_ttm_io_mem_reserve, .io_mem_free = &virtio_gpu_ttm_io_mem_free, - .io_mem_pfn = ttm_bo_default_io_mem_pfn, .move_notify = &virtio_gpu_bo_move_notify, .swap_notify = &virtio_gpu_bo_swap_notify, }; -- 2.7.4