Update of /cvsroot/linux-mips/linux/drivers/sgi/char
In directory usw-pr-cvs1:/tmp/cvs-serv5739/drivers/sgi/char
Modified Files:
ds1286.c
Log Message:
Sync with OSS 2.4.9.
Index: ds1286.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/sgi/char/ds1286.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ds1286.c 2001/07/09 19:28:47 1.2
+++ ds1286.c 2001/09/25 03:36:35 1.3
@@ -53,8 +53,6 @@
static DECLARE_WAIT_QUEUE_HEAD(ds1286_wait);
-static long long ds1286_llseek(struct file *file, loff_t offset, int origin);
-
static ssize_t ds1286_read(struct file *file, char *buf,
size_t count, loff_t *ppos);
@@ -90,11 +88,6 @@
* Now all the various file operations that we export.
*/
-static long long ds1286_llseek(struct file *file, loff_t offset, int origin)
-{
- return -ESPIPE;
-}
-
static ssize_t ds1286_read(struct file *file, char *buf,
size_t count, loff_t *ppos)
{
@@ -338,7 +331,7 @@
*/
static struct file_operations ds1286_fops = {
- llseek: ds1286_llseek,
+ llseek: no_llseek,
read: ds1286_read,
poll: ds1286_poll,
ioctl: ds1286_ioctl,
|