Skip to content

Commit 068a8fe

Browse files
gurchetansinghkraxel
authored andcommitted
drm/virtio: make mmap callback consistent with callbacks
This is a very, very minor cleanup. Signed-off-by: Gurchetan Singh <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent c348030 commit 068a8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/virtio/virtgpu_object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static const struct drm_gem_object_funcs virtio_gpu_gem_funcs = {
106106
.get_sg_table = drm_gem_shmem_get_sg_table,
107107
.vmap = drm_gem_shmem_vmap,
108108
.vunmap = drm_gem_shmem_vunmap,
109-
.mmap = &drm_gem_shmem_mmap,
109+
.mmap = drm_gem_shmem_mmap,
110110
};
111111

112112
struct drm_gem_object *virtio_gpu_create_object(struct drm_device *dev,

0 commit comments

Comments
 (0)