mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-24 14:54:49 +08:00
drm/virtio: make mmap callback consistent with callbacks
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>
This commit is contained in:
parent
c3480301d7
commit
068a8fea37
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user