X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Fau1100fb.c;h=3d04b2def0f165d5ab7cbc2afadace2fa7896eb8;hb=d649dafd0713f2f3dfe29baa783868db33aa2c11;hp=2406899f12078fd5d958a6b9495a3f6e33564fe3;hpb=fc03da1ca1954f103ed57daf90611cefa57b07e0;p=powerpc.git diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index 2406899f12..3d04b2def0 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c @@ -49,6 +49,7 @@ #include #include #include +#include #include @@ -406,7 +407,7 @@ int au1100fb_fb_mmap(struct fb_info *fbi, struct vm_area_struct *vma) vma->vm_flags |= VM_IO; - if (io_remap_page_range(vma, vma->vm_start, off, + if (io_remap_pfn_range(vma, vma->vm_start, off >> PAGE_SHIFT, vma->vm_end - vma->vm_start, vma->vm_page_prot)) { return -EAGAIN;