summaryrefslogtreecommitdiff
path: root/drivers/video/bfin-lq035q1-fb.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-09-06 11:23:11 +0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-09-23 01:35:02 +0400
commit232703fbe132eb2cbe848d28627e19cd1084a8cc (patch)
treecfbc55e889d1dff3508a77ff27fd98cdb200f106 /drivers/video/bfin-lq035q1-fb.c
parent2636ff6b0df904cf1c982f580860204a386d177f (diff)
downloadlinux-232703fbe132eb2cbe848d28627e19cd1084a8cc.tar.xz
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)
info = fbinfo->par;
info->fb = fbinfo;
info->dev = &pdev->dev;
+ spin_lock_init(&info->lock);
info->disp_info = pdev->dev.platform_data;