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-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3544ea97041d86ed78e5889724ca784042178f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 ace5b3f3cdeb..836746fb9a55 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