patch-2.3.25 linux/drivers/sound/maestro.c
Next file: linux/drivers/sound/sonicvibes.c
Previous file: linux/drivers/sound/esssolo1.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Nov  1 10:31:28 1999
-  Orig file: 
v2.3.24/linux/drivers/sound/maestro.c
-  Orig date: 
Fri Oct 22 13:21:50 1999
diff -u --recursive --new-file v2.3.24/linux/drivers/sound/maestro.c linux/drivers/sound/maestro.c
@@ -2339,7 +2339,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)