aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/bfin-lq035q1-fb.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-09-06 03:23:11 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-09-22 17:35:02 -0400
commit232703fbe132eb2cbe848d28627e19cd1084a8cc (patch)
treecfbc55e889d1dff3508a77ff27fd98cdb200f106 /drivers/video/bfin-lq035q1-fb.c
parent2636ff6b0df904cf1c982f580860204a386d177f (diff)
video: bf*: Add missing spinlock init
It doesn't seem these spinlocks were properly initialized. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/bfin-lq035q1-fb.c')
-rw-r--r--drivers/video/bfin-lq035q1-fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/bfin-lq035q1-fb.c b/drivers/video/bfin-lq035q1-fb.c
index 1b21519c77e0..6fbc75c2f0a1 100644
--- a/drivers/video/bfin-lq035q1-fb.c
+++ b/drivers/video/bfin-lq035q1-fb.c
@@ -577,6 +577,7 @@ static int __devinit bfin_lq035q1_probe(struct platform_device *pdev)
577 info = fbinfo->par; 577 info = fbinfo->par;
578 info->fb = fbinfo; 578 info->fb = fbinfo;
579 info->dev = &pdev->dev; 579 info->dev = &pdev->dev;
580 spin_lock_init(&info->lock);
580 581
581 info->disp_info = pdev->dev.platform_data; 582 info->disp_info = pdev->dev.platform_data;
582 583