summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2008-03-10 21:44:03 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-11 04:01:20 +0300
commitb3544ea97041d86ed78e5889724ca784042178f3 (patch)
tree04ec0bfb0245b31ffa65d70c220d895aa8e94f6d /drivers/video
parentfdcc53587fd2754ba87b0607b3f889520178a7af (diff)
downloadlinux-b3544ea97041d86ed78e5889724ca784042178f3.tar.xz
BF54x LQ043 Framebuffer driver: fix bug lcd_device_register API breakage
Signed-off-by: Bryan Wu <bryan.wu@analog.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/bf54x-lq043fb.c2
1 files changed, 1 insertions, 1 deletions
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