aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-11 12:39:26 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 04:46:43 -0400
commit5cfafbf951acedced7567ae3fd2d29ff62ce1dec (patch)
tree277311d9a929210b414f8025b924e6ccf0cdb490
parentc607f450f6e49f5794f27617bedc638b51044d2e (diff)
pxa3xx: VM_IO is set by io_remap_pfn_range()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/video/pxa3xx-gcu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/pxa3xx-gcu.c b/drivers/video/pxa3xx-gcu.c
index 97563c55af63..7cf0b13d061b 100644
--- a/drivers/video/pxa3xx-gcu.c
+++ b/drivers/video/pxa3xx-gcu.c
@@ -494,7 +494,6 @@ pxa3xx_gcu_misc_mmap(struct file *file, struct vm_area_struct *vma)
494 if (size != resource_size(priv->resource_mem)) 494 if (size != resource_size(priv->resource_mem))
495 return -EINVAL; 495 return -EINVAL;
496 496
497 vma->vm_flags |= VM_IO;
498 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 497 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
499 498
500 return io_remap_pfn_range(vma, vma->vm_start, 499 return io_remap_pfn_range(vma, vma->vm_start,