BF54x LQ043 Framebuffer driver updates
cover BF54x LQ043 Framebuffer driver updates
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
PATCH 1/3 BF54x LQ043 Framebuffer driver: fix bug NULL for gpio_request label is not allowed
From: Michael Hennerich <[email protected]>
Signed-off-by Michael Hennerich <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/video/bf54x-lq043fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/bf54x-lq043fb.c +1 -1
@@ -241,7 +241,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)u16 eppi_req_18[] =EPPI0_18 ;u16 disp = fbi->mach_info->disp; -if (gpio_request (disp,NULL )) { +if (gpio_request (disp,DRIVER_NAME )) {printk (KERN_ERR "Requesting GPIO %d faild\n" , disp);return -EFAULT ; }
Signature · 6 lines
1.5.3.4 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
PATCH 2/3 BF54x LQ043 Framebuffer driver: fix bug lcd_device_register API breakage
In reply to Bryan WuSigned-off-by Bryan Wu <[email protected]>
--- drivers/video/bf54x-lq043fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/bf54x-lq043fb.c +1 -1
@@ -673,7 +673,7 @@ static int __init bfin_bf54x_probe(struct platform_device *pdev) &bfin_lq043fb_bl_ops); bl_dev->props.max_brightness =255 ; - lcd_dev =lcd_device_register (DRIVER_NAME ,NULL , &bfin_lcd_ops); + lcd_dev =lcd_device_register (DRIVER_NAME , &pdev->dev,NULL , &bfin_lcd_ops); lcd_dev->props.max_contrast =255 ,printk (KERN_INFO "Done.\n" );#endif
Signature · 6 lines
1.5.3.4 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
PATCH 3/3 BF54x LQ043 Framebuffer driver: Update copyright on previously modified files
In reply to Bryan WuFrom: Michael Hennerich <[email protected]>
Signed-off-by Michael Hennerich <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/video/bf54x-lq043fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/bf54x-lq043fb.c +1 -1
@@ -8,7 +8,7 @@* * * Modified: -* Copyright 2004-2007 Analog Devices Inc. +* Copyright 2007-2008 Analog Devices Inc. * * Bugs: Enter bugs at http://blackfin.uclinux.org/ *
Signature · 6 lines
1.5.3.4 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/