patch-2.4.9 linux/drivers/char/sbc60xxwdt.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/rtc.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/char/sbc60xxwdt.c
- Orig date:
Sun Aug 12 13:27:59 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/char/sbc60xxwdt.c linux/drivers/char/sbc60xxwdt.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)