patch-2.4.9 linux/drivers/sound/dmasound/dmasound_core.c

Next file: linux/drivers/sound/dmasound/dmasound_paula.c
Previous file: linux/drivers/sound/dmasound/dmasound_awacs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/sound/dmasound/dmasound_core.c linux/drivers/sound/dmasound/dmasound_core.c
@@ -385,16 +385,6 @@
 
 
     /*
-     *  Common stuff
-     */
-
-static long long sound_lseek(struct file *file, long long offset, int orig)
-{
-	return -ESPIPE;
-}
-
-
-    /*
      *  Mid level stuff
      */
 
@@ -536,7 +526,7 @@
 static struct file_operations mixer_fops =
 {
 	owner:		THIS_MODULE,
-	llseek:		sound_lseek,
+	llseek:		no_llseek,
 	ioctl:		mixer_ioctl,
 	open:		mixer_open,
 	release:	mixer_release,
@@ -1036,7 +1026,7 @@
 static struct file_operations sq_fops =
 {
 	owner:		THIS_MODULE,
-	llseek:		sound_lseek,
+	llseek:		no_llseek,
 	write:		sq_write,
 	ioctl:		sq_ioctl,
 	open:		sq_open,
@@ -1174,7 +1164,7 @@
 
 static struct file_operations state_fops = {
 	owner:		THIS_MODULE,
-	llseek:		sound_lseek,
+	llseek:		no_llseek,
 	read:		state_read,
 	open:		state_open,
 	release:	state_release,

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