Skip to contentSkip to conversation

au1100: fix io_remap_page_range() arg. list

PATCH New Randy.Dunlap 1 participant 1 message Feb 21, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 au1100: fix io_remap_page_range() arg. list

Fix io_remap_page_range() call to pass a missing arg.

diffstat:=

 drivers/video/au1100fb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/au1100fb.c renamed from drivers/video/au1100fb.c~au1100_ioremap +1 -1
diff -Naurp ./drivers/video/au1100fb.c~au1100_ioremap ./drivers/video/au1100fb.c
@@ -408,7 +408,7 @@ au1100fb_mmap(struct fb_info *_fb,
 	/* This is an IO map - tell maydump to skip this VMA */
 	vma->vm_flags |= VM_IO;
 
-	if (io_remap_page_range(vma->vm_start, off,
+	if (io_remap_page_range(vma, vma->vm_start, off,
 				vma->vm_end - vma->vm_start,
 				vma->vm_page_prot)) {
 		return -EAGAIN;

---

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click