patch-2.4.9 linux/drivers/sbus/char/vfc_dev.c
Next file: linux/drivers/scsi/3w-xxxx.c
Previous file: linux/drivers/sbus/char/uctrl.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Aug 12 10:38:48 2001
- Orig file:
v2.4.8/linux/drivers/sbus/char/vfc_dev.c
- Orig date:
Tue Mar 6 22:44:16 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -642,15 +642,9 @@
}
-static int vfc_lseek(struct inode *inode, struct file *file,
- off_t offset, int origin)
-{
- return -ESPIPE;
-}
-
static struct file_operations vfc_fops = {
owner: THIS_MODULE,
- llseek: vfc_lseek,
+ llseek: no_llseek,
ioctl: vfc_ioctl,
mmap: vfc_mmap,
open: vfc_open,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)