diff options
Diffstat (limited to 'drivers/misc/carma')
-rw-r--r-- | drivers/misc/carma/carma-fpga.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c index 0c43297ed9ac..8835eabb3b87 100644 --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c | |||
@@ -1243,8 +1243,6 @@ static int data_mmap(struct file *filp, struct vm_area_struct *vma) | |||
1243 | return -EINVAL; | 1243 | return -EINVAL; |
1244 | } | 1244 | } |
1245 | 1245 | ||
1246 | /* IO memory (stop cacheing) */ | ||
1247 | vma->vm_flags |= VM_IO | VM_RESERVED; | ||
1248 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); | 1246 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); |
1249 | 1247 | ||
1250 | return io_remap_pfn_range(vma, vma->vm_start, addr, vsize, | 1248 | return io_remap_pfn_range(vma, vma->vm_start, addr, vsize, |