summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 20:38:38 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 12:46:43 +0400
commitc607f450f6e49f5794f27617bedc638b51044d2e (patch)
treea8b44f079954c8d656e7a244c0b8c18c721cb7ff
parent1fca06fafb235a88c4fa91294aa1726c0e22855b (diff)
downloadlinux-c607f450f6e49f5794f27617bedc638b51044d2e.tar.xz
au1100fb: VM_IO is set by io_remap_pfn_range()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/video/au1100fb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c
index 700cac067b46..ebeb9715f061 100644
--- a/drivers/video/au1100fb.c
+++ b/drivers/video/au1100fb.c
@@ -385,8 +385,6 @@ int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma)
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6
- vma->vm_flags |= VM_IO;
-
if (io_remap_pfn_range(vma, vma->vm_start, off >> PAGE_SHIFT,
vma->vm_end - vma->vm_start,
vma->vm_page_prot)) {