aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-rw-r--r--drivers/gpu/drm/drm_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index 5ea622c54e76..154d6c6955c1 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -820,7 +820,7 @@ int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma)
820 struct drm_device *dev = priv->minor->dev; 820 struct drm_device *dev = priv->minor->dev;
821 struct drm_gem_object *obj; 821 struct drm_gem_object *obj;
822 struct drm_vma_offset_node *node; 822 struct drm_vma_offset_node *node;
823 int ret = 0; 823 int ret;
824 824
825 if (drm_device_is_unplugged(dev)) 825 if (drm_device_is_unplugged(dev))
826 return -ENODEV; 826 return -ENODEV;