]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/virtio: make mmap callback consistent with callbacks
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 27 Feb 2020 00:25:54 +0000 (16:25 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 27 Feb 2020 10:31:34 +0000 (11:31 +0100)
This is a very, very minor cleanup.

Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200227002601.745-2-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_object.c

index 3d2a6d489bfc9b2d8e3135f5f5490ca76a476a03..07de3260118a7d06ccaf15c1218ae93dfa9dc632 100644 (file)
@@ -106,7 +106,7 @@ static const struct drm_gem_object_funcs virtio_gpu_gem_funcs = {
        .get_sg_table = drm_gem_shmem_get_sg_table,
        .vmap = drm_gem_shmem_vmap,
        .vunmap = drm_gem_shmem_vunmap,
-       .mmap = &drm_gem_shmem_mmap,
+       .mmap = drm_gem_shmem_mmap,
 };
 
 struct drm_gem_object *virtio_gpu_create_object(struct drm_device *dev,