diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/lcd.c | 4 | ||||
-rw-r--r-- | drivers/char/lcd.h | 2 |
2 files changed, 3 insertions, 3 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) | |||
575 | 575 | ||
576 | static int lcd_waiters = 0; | 576 | static int lcd_waiters = 0; |
577 | 577 | ||
578 | static long lcd_read(struct inode *inode, struct file *file, char *buf, | 578 | static ssize_t lcd_read(struct file *file, char *buf, |
579 | unsigned long count) | 579 | size_t count, loff_t *ofs) |
580 | { | 580 | { |
581 | long buttons_now; | 581 | long buttons_now; |
582 | 582 | ||
diff --git a/drivers/char/lcd.h b/drivers/char/lcd.h index 878a95280e87..a8d4ae737158 100644 --- a/drivers/char/lcd.h +++ b/drivers/char/lcd.h | |||
@@ -22,7 +22,7 @@ static int timeout(volatile unsigned long); | |||
22 | #define MAX_IDLE_TIME 120 | 22 | #define MAX_IDLE_TIME 120 |
23 | 23 | ||
24 | struct lcd_display { | 24 | struct lcd_display { |
25 | unsigned long buttons; | 25 | unsigned buttons; |
26 | int size1; | 26 | int size1; |
27 | int size2; | 27 | int size2; |
28 | unsigned char line1[LCD_CHARS_PER_LINE]; | 28 | unsigned char line1[LCD_CHARS_PER_LINE]; |