From: Peter Horton <pdh@colonel-panic.org>
To: linux-mips@linux-mips.org
Subject: [PATCH 2.6] Cobalt fixes [3 of 6]
Date: Sun, 20 Feb 2005 14:57:46 +0000 [thread overview]
Message-ID: <20050220145746.GC26582@skeleton-jack> (raw)
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];
reply other threads:[~2005-02-20 14:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050220145746.GC26582@skeleton-jack \
--to=pdh@colonel-panic.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox