patch-2.4.9 linux/drivers/sbus/char/openprom.c

Next file: linux/drivers/sbus/char/pcikbd.c
Previous file: linux/drivers/sbus/char/envctrl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/sbus/char/openprom.c linux/drivers/sbus/char/openprom.c
@@ -586,11 +586,6 @@
 	}
 }
 
-static long long openprom_lseek(struct file * file, long long offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static int openprom_open(struct inode * inode, struct file * file)
 {
 	DATA *data;
@@ -614,7 +609,7 @@
 
 static struct file_operations openprom_fops = {
 	owner:		THIS_MODULE,
-	llseek:		openprom_lseek,
+	llseek:		no_llseek,
 	ioctl:		openprom_ioctl,
 	open:		openprom_open,
 	release:	openprom_release,

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