patch-2.3.99-pre7 linux/drivers/usb/audio.c

Next file: linux/drivers/usb/hid.c
Previous file: linux/drivers/usb/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/usb/audio.c linux/drivers/usb/audio.c
@@ -2159,10 +2159,10 @@
 		db = &as->usbin.dma;
 	} else
 		return -EINVAL;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,3,22)
+
 	if (vma->vm_pgoff != 0)
 		return -EINVAL;
-#endif
+
 	return dmabuf_mmap(db,  vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot);
 }
 

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])