mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
BF54x LQ043 Framebuffer driver: fix bug lcd_device_register API breakage
Signed-off-by: Bryan Wu <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fdcc53587f
commit
b3544ea970
1 changed files with 1 additions and 1 deletions
|
|
@ -672,7 +672,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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue