patch-2.3.25 linux/drivers/sound/cmpci.c

Next file: linux/drivers/sound/es1370.c
Previous file: linux/drivers/scsi/sim710_d.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -1333,7 +1333,7 @@
 		db = &s->dma_adc;
 	} else 
 		return -EINVAL;
-	if (vma->vm_offset != 0)
+	if (vma->vm_pgoff != 0)
 		return -EINVAL;
 	size = vma->vm_end - vma->vm_start;
 	if (size > (PAGE_SIZE << db->buforder))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)