]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/ast/ast_ttm.c
drm/<ttm-based-drivers>: Don't call drm_mmap
[karo-tx-linux.git] / drivers / gpu / drm / ast / ast_ttm.c
index 5098c7dd435c94f8339777ad5d5ec21efebb5af3..c65d432f42c42f7f57d70d9f7b919661bf2151db 100644 (file)
@@ -427,7 +427,7 @@ int ast_mmap(struct file *filp, struct vm_area_struct *vma)
        struct ast_private *ast;
 
        if (unlikely(vma->vm_pgoff < DRM_FILE_PAGE_OFFSET))
-               return drm_mmap(filp, vma);
+               return -EINVAL;
 
        file_priv = filp->private_data;
        ast = file_priv->minor->dev->dev_private;