[PATCH] au1100: fix io_remap_page_range() arg. list
DORMANTno replies
From: Randy.Dunlap <hidden>
Date: 2005-02-21 23:28:17
From: Randy.Dunlap <hidden>
Date: 2005-02-21 23:28:17
Fix io_remap_page_range() call to pass a missing arg. Signed-off-by: Randy Dunlap <redacted> diffstat:= drivers/video/au1100fb.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Naurp ./drivers/video/au1100fb.c~au1100_ioremap ./drivers/video/au1100fb.c
--- ./drivers/video/au1100fb.c~au1100_ioremap 2005-02-18 13:39:05.000000000 -0800
+++ ./drivers/video/au1100fb.c 2005-02-21 15:21:17.447431120 -0800@@ -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