patch-2.4.9 linux/drivers/sbus/audio/audio.c

Next file: linux/drivers/sbus/char/aurora.c
Previous file: linux/drivers/s390/net/netiucv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/sbus/audio/audio.c linux/drivers/sbus/audio/audio.c
@@ -1,4 +1,4 @@
-/* $Id: audio.c,v 1.60 2001/05/21 09:05:05 davem Exp $
+/* $Id: audio.c,v 1.61 2001/08/13 14:40:12 davem Exp $
  * drivers/sbus/audio/audio.c
  *
  * Copyright 1996 Thomas K. Dyas (tdyas@noc.rutgers.edu)
@@ -217,11 +217,6 @@
         return mask;
 }
 
-static loff_t sparcaudio_llseek(struct file * file, loff_t offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static ssize_t sparcaudio_read(struct file * file, char *buf, 
                                size_t count, loff_t *ppos)
 {
@@ -1892,7 +1887,7 @@
 
 static struct file_operations sparcaudio_fops = {
 	owner:		THIS_MODULE,
-	llseek:		sparcaudio_llseek,
+	llseek:		no_llseek,
 	read:		sparcaudio_read,
 	write:		sparcaudio_write,
 	poll:		sparcaudio_poll,

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