patch-2.4.9 linux/drivers/sbus/char/uctrl.c
Next file: linux/drivers/sbus/char/vfc_dev.c
Previous file: linux/drivers/sbus/char/rtc.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Tue Aug 14 19:57:29 2001
- Orig file:
v2.4.8/linux/drivers/sbus/char/uctrl.c
- Orig date:
Sun Feb 18 19:49:55 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/sbus/char/uctrl.c linux/drivers/sbus/char/uctrl.c
@@ -1,4 +1,4 @@
-/* $Id: uctrl.c,v 1.10 2001/02/13 01:17:00 davem Exp $
+/* $Id: uctrl.c,v 1.11 2001/08/13 14:40:08 davem Exp $
* uctrl.c: TS102 Microcontroller interface on Tadpole Sparcbook 3
*
* Copyright 1999 Derrick J Brashear (shadow@dementia.org)
@@ -198,12 +198,6 @@
void uctrl_get_event_status(void);
void uctrl_get_external_status(void);
-static loff_t
-uctrl_llseek(struct file *file, loff_t offset, int type)
-{
- return -ESPIPE;
-}
-
static int
uctrl_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
@@ -231,7 +225,7 @@
static struct file_operations uctrl_fops = {
owner: THIS_MODULE,
- llseek: uctrl_llseek,
+ llseek: no_llseek,
ioctl: uctrl_ioctl,
open: uctrl_open,
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)