summaryrefslogtreecommitdiff
path: root/drivers/video/fb-puv3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fb-puv3.c')
-rw-r--r--drivers/video/fb-puv3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fb-puv3.c b/drivers/video/fb-puv3.c
index 60a787fa32cf..7d106f1f4906 100644
--- a/drivers/video/fb-puv3.c
+++ b/drivers/video/fb-puv3.c
@@ -653,9 +653,8 @@ int unifb_mmap(struct fb_info *info,
vma->vm_page_prot))
return -EAGAIN;
- vma->vm_flags |= VM_RESERVED; /* avoid to swap out this VMA */
+ /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */
return 0;
-
}
static struct fb_ops unifb_ops = {