diff -Naurp linux-2.6.17-rc4.orig/drivers/video/impact.c linux-2.6.17-rc4/drivers/video/impact.c --- linux-2.6.17-rc4.orig/drivers/video/impact.c 2006-05-27 13:44:06.000000000 -0400 +++ linux-2.6.17-rc4/drivers/video/impact.c 2006-05-27 13:49:09.000000000 -0400 @@ -709,7 +709,7 @@ int impact_ioctl(struct inode *inode, st } int -impact_mmap(struct fb_info *p, struct file *file, struct vm_area_struct *vma) +impact_mmap(struct fb_info *p, struct vm_area_struct *vma) { unsigned pool, i, n; unsigned long size = vma->vm_end - vma->vm_start; @@ -732,7 +732,6 @@ impact_mmap(struct fb_info *p, struct fi if (remap_pfn_range(vma, vma->vm_start, (offset+MMIO)>>PAGE_SHIFT, size, vma->vm_page_prot)) return -EAGAIN; - vma->vm_file = file; PAR.mmap_flag = 1; break; case 0x1000000: @@ -755,7 +754,6 @@ impact_mmap(struct fb_info *p, struct fi return -EAGAIN; start += PAGE_SIZE; } - vma->vm_file = file; PAR.mmap_flag = 1; } return 0;