diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-21 17:18:36 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:30:42 +0200 |
commit | c4ed38a0c6e2e5c4906296758f816ee71373792f (patch) | |
tree | 65ebab9ca61ea6d03109c53acd2989b626dce52a /drivers/char/lcd.c | |
parent | Enable/disable irq's only if needed. (diff) | |
download | linux-c4ed38a0c6e2e5c4906296758f816ee71373792f.tar.xz linux-c4ed38a0c6e2e5c4906296758f816ee71373792f.zip |
Resurrect Cobalt support for 2.6.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/char/lcd.c')
-rw-r--r-- | drivers/char/lcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c index b77161146144..29963d8be667 100644 --- a/drivers/char/lcd.c +++ b/drivers/char/lcd.c @@ -575,8 +575,8 @@ static inline int button_pressed(void) 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; |