OSDN Git Service

staging: remove the default io_mem_pfn set
authorTan Xiaojun <tanxiaojun@huawei.com>
Mon, 25 Dec 2017 03:43:33 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:51 +0000 (15:44 -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/staging/vboxvideo/vbox_ttm.c

index 55f14c9..2ea3158 100644 (file)
@@ -234,7 +234,6 @@ static struct ttm_bo_driver vbox_bo_driver = {
        .verify_access = vbox_bo_verify_access,
        .io_mem_reserve = &vbox_ttm_io_mem_reserve,
        .io_mem_free = &vbox_ttm_io_mem_free,
-       .io_mem_pfn = ttm_bo_default_io_mem_pfn,
 };
 
 int vbox_mm_init(struct vbox_private *vbox)