commit | c4ed38a0c6e2e5c4906296758f816ee71373792f | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Mon Feb 21 16:18:36 2005 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:30:42 2005 +0100 |
tree | 65ebab9ca61ea6d03109c53acd2989b626dce52a | |
parent | 049b13c358f0187cf3c5003d5fb9848dbcb28bc3 [diff] [blame] |
Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c index b771611..29963d8 100644 --- a/drivers/char/lcd.c +++ b/drivers/char/lcd.c
@@ -575,8 +575,8 @@ static int lcd_waiters = 0; -static long lcd_read(struct inode *inode, struct file *file, char *buf, - unsigned long count) +static ssize_t lcd_read(struct file *file, char *buf, + size_t count, loff_t *ofs) { long buttons_now;