aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/vermilion/vermilion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/vermilion/vermilion.c')
-rw-r--r--drivers/video/vermilion/vermilion.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/vermilion/vermilion.c b/drivers/video/vermilion/vermilion.c
index 970e43d13f52..89aef343e295 100644
--- a/drivers/video/vermilion/vermilion.c
+++ b/drivers/video/vermilion/vermilion.c
@@ -1018,7 +1018,6 @@ static int vmlfb_mmap(struct fb_info *info, struct vm_area_struct *vma)
1018 offset += vinfo->vram_start; 1018 offset += vinfo->vram_start;
1019 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; 1019 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
1020 pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT; 1020 pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT;
1021 vma->vm_flags |= VM_RESERVED | VM_IO;
1022 if (remap_pfn_range(vma, vma->vm_start, offset >> PAGE_SHIFT, 1021 if (remap_pfn_range(vma, vma->vm_start, offset >> PAGE_SHIFT,
1023 size, vma->vm_page_prot)) 1022 size, vma->vm_page_prot))
1024 return -EAGAIN; 1023 return -EAGAIN;