[2.1.62] atixlmouse patch

Bob Doyle (doyle@primenet.com)
Wed, 12 Nov 1997 20:16:41 -0700


Yet another mouse driver patch. It is well tested here.

Bob

--- atixlmouse.c.orig Mon Nov 3 19:02:19 1997
+++ atixlmouse.c Mon Nov 3 22:01:51 1997
@@ -136,16 +136,16 @@
}


-static long write_mouse(struct inode * inode, struct file * file,
- const char * buffer, unsigned long count)
+static ssize_t write_mouse(struct file * file, const char * buffer,
+ size_t count, loff_t *ppos)
{
return -EINVAL;
}

-static long read_mouse(struct inode * inode, struct file * file,
- char * buffer, unsigned long count)
+static ssize_t read_mouse(struct file * file, char * buffer,
+ size_t count, loff_t *ppos)
{
- int i;
+ ssize_t i;

if (count < 3)
return -EINVAL;