summaryrefslogtreecommitdiffstats
path: root/drivers/char/atixlmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/atixlmouse.c')
-rw-r--r--drivers/char/atixlmouse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/atixlmouse.c b/drivers/char/atixlmouse.c
index 7ffee43bc..51451a0a2 100644
--- a/drivers/char/atixlmouse.c
+++ b/drivers/char/atixlmouse.c
@@ -136,16 +136,16 @@ static int open_mouse(struct inode * inode, struct file * file)
}
-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;