* [PATCH 2.6] Cobalt fixes [3 of 6]
@ 2005-02-20 14:57 Peter Horton
0 siblings, 0 replies; only message in thread
From: Peter Horton @ 2005-02-20 14:57 UTC (permalink / raw)
To: linux-mips
Fix Cobalt LCD driver for 2.6.
P.
--- linux-cvs/drivers/char/lcd.c 2005-01-25 04:28:12.000000000 +0000
+++ linux-wip/drivers/char/lcd.c 2005-02-20 13:48:22.000000000 +0000
@@ -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;
--- linux-cvs/drivers/char/lcd.h 2005-01-13 14:05:52.000000000 +0000
+++ linux-wip/drivers/char/lcd.h 2005-02-20 13:48:22.000000000 +0000
@@ -22,7 +22,7 @@ static int timeout(volatile unsigned lon
#define MAX_IDLE_TIME 120
struct lcd_display {
- unsigned long buttons;
+ unsigned buttons;
int size1;
int size2;
unsigned char line1[LCD_CHARS_PER_LINE];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-20 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-20 14:57 [PATCH 2.6] Cobalt fixes [3 of 6] Peter Horton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox