FB: Fix platform_lcd match entry.
Subsystems (2)
The platform_lcd driver was matching against the framebuffer device entry, and not the framebuffer's parent device.
Signed-off-by Ben Dooks <[email protected]>
drivers/video/backlight/platform_lcd.c +1 -1
@@ -62,7 +62,7 @@ static int platform_lcd_match(struct lcdif (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 = {
Signature · 9 lines
Ben ([email protected], 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