"remap_page_range" compile ERROR

From: Mukund JB.
Date: Wed Mar 09 2005 - 07:09:43 EST

Hi all,

I am running Redhat 9 Linux.
I have problem with compiling the i810fb driver downloaded from
Sourceforge site. I have D/W the i810fb patch

When I run the make modules I get the following ERROR

i810_main.c: 643: warning: passing arg 1 of 'remap_page_range_R2baf18f2'
makes pointer from integer without a cast
i810_main.c: 643: incompatible type for argument 4 of
i810_main.c: 643: too few arguments to function
Make[3]: *** [I810_main.c] Error 1

The call to "remap_page_range()" is as follows:-

return (io_remap_page_range(vma->vm_start, off, vma->vm_end -
vma->vm_start, vma->vm_page_prot)) ? -EAGAIN : 0;

Please suggest me what could be the problem.

Mukund jampala

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/