From: Ben Dooks <ben-linux@fluff.org>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: akpm@linux-foundation.org, Ben Dooks <ben-linux@fluff.org>
Subject: FB: Fix platform_lcd match entry.
Date: Tue, 08 Jul 2008 10:37:30 +0100 [thread overview]
Message-ID: <20080708093729.970594944@fluff.org.uk> (raw)
[-- Attachment #1: simtec/simtec-drivers-fb-platformlcd-fixmatch.patch --]
[-- Type: text/plain, Size: 1062 bytes --]
The platform_lcd driver was matching against the
framebuffer device entry, and not the framebuffer's
parent device.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
--- linux-2.6.26-rc6-quilt1.orig/drivers/video/backlight/platform_lcd.c 2008-06-15 20:27:56.000000000 +0100
+++ linux-2.6.26-rc6-quilt1/drivers/video/backlight/platform_lcd.c 2008-06-15 21:07:22.000000000 +0100
@@ -62,7 +62,7 @@ static int platform_lcd_match(struct lcd
if (pdata->match_fb)
return pdata->match_fb(pdata, info);
- return plcd->us->parent == info->dev;
+ return plcd->us->parent == info->device;
}
static struct lcd_ops platform_lcd_ops = {
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
reply other threads:[~2008-07-08 9:37 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=20080708093729.970594944@fluff.org.uk \
--to=ben-linux@fluff.org \
--cc=akpm@linux-foundation.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).