diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-06 23:51:34 +0000 |
commit | 230e5ab6a084ed50470f101934782dbf54b0d06b (patch) | |
tree | 5dd821c8d33f450470588e7a543f74bf74306e9e /drivers/char/pc110pad.c | |
parent | c9b1c8a64c6444d189856f1e26bdcb8b4cd0113a (diff) |
Merge with Linux 2.1.67.
Diffstat (limited to 'drivers/char/pc110pad.c')
-rw-r--r-- | drivers/char/pc110pad.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/char/pc110pad.c b/drivers/char/pc110pad.c index 71b75deb2..c2ed5482a 100644 --- a/drivers/char/pc110pad.c +++ b/drivers/char/pc110pad.c @@ -13,6 +13,7 @@ * 0.1 1997-05-19 Robin O'Leary <robin@acm.org> - PS/2 emulation * 0.2 1997-06-03 Robin O'Leary <robin@acm.org> - tap gesture * 0.3 1997-06-27 Alan Cox <alan@cymru.net> - 2.1 commit + * 0.4 1997-11-09 Alan Cox <alan@cymru.net> - Single Unix VFS API changes */ #include <linux/config.h> @@ -532,7 +533,7 @@ static int open_pad(struct inode * inode, struct file * file) /* * writes are disallowed */ -static long write_pad(struct inode * inode, struct file * file, const char * buffer, unsigned long count) +static ssize_t write_pad(struct file * file, const char * buffer, size_t count, loff_t *ppos) { return -EINVAL; } @@ -553,7 +554,7 @@ void new_sample(int d[3]) /* * Read pad data. Currently never blocks. */ -static long read_pad(struct inode * inode, struct file * file, char * buffer, unsigned long count) +static ssize_t read_pad(struct file * file, char * buffer, size_t count, loff_t *ppos) { int r; |