patch-2.4.9 linux/drivers/sound/soundcard.c

Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -202,11 +202,6 @@
 	return ret;
 }
 
-static long long sound_lseek(struct file *file, long long offset, int orig)
-{
-	return -ESPIPE;
-}
-
 static int sound_open(struct inode *inode, struct file *file)
 {
 	int dev = MINOR(inode->i_rdev);
@@ -499,7 +494,7 @@
 
 struct file_operations oss_sound_fops = {
 	owner:		THIS_MODULE,
-	llseek:		sound_lseek,
+	llseek:		no_llseek,
 	read:		sound_read,
 	write:		sound_write,
 	poll:		sound_poll,

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