From: Bryan Wu Date: Mon, 10 Mar 2008 18:44:03 +0000 (-0700) Subject: BF54x LQ043 Framebuffer driver: fix bug lcd_device_register API breakage X-Git-Tag: v2.6.25-rc6~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3544ea97041d86ed78e5889724ca784042178f3;p=platform%2Fkernel%2Flinux-3.10.git BF54x LQ043 Framebuffer driver: fix bug lcd_device_register API breakage Signed-off-by: Bryan Wu Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index ace5b3f..836746f 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c @@ -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