patch-2.4.9 linux/drivers/char/w83877f_wdt.c

Next file: linux/drivers/char/wdt.c
Previous file: linux/drivers/char/vt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/char/w83877f_wdt.c linux/drivers/char/w83877f_wdt.c
@@ -229,11 +229,6 @@
 	return 0;
 }
 
-static long long fop_llseek(struct file *file, long long offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
 	unsigned long arg)
 {
@@ -258,7 +253,7 @@
 
 static struct file_operations wdt_fops = {
 	owner:		THIS_MODULE,
-	llseek:		fop_llseek,
+	llseek:		no_llseek,
 	read:		fop_read,
 	write:		fop_write,
 	open:		fop_open,

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