patch-2.4.9 linux/drivers/char/wdt.c
Next file: linux/drivers/char/wdt_pci.c
Previous file: linux/drivers/char/w83877f_wdt.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/wdt.c
- Orig date:
Sat May 19 17:43:05 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/char/wdt.c linux/drivers/char/wdt.c
@@ -204,11 +204,6 @@
}
-static long long wdt_llseek(struct file *file, long long offset, int origin)
-{
- return -ESPIPE;
-}
-
/**
* wdt_ping:
*
@@ -423,7 +418,7 @@
static struct file_operations wdt_fops = {
owner: THIS_MODULE,
- llseek: wdt_llseek,
+ llseek: no_llseek,
read: wdt_read,
write: wdt_write,
ioctl: wdt_ioctl,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)