aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/bfin-t350mcqb-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-t350mcqb-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-t350mcqb-fb.c')
-rw-r--r--drivers/video/bfin-t350mcqb-fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c
index 7a0c05f3537e..ae0fb24b8b43 100644
--- a/drivers/video/bfin-t350mcqb-fb.c
+++ b/drivers/video/bfin-t350mcqb-fb.c
@@ -447,6 +447,7 @@ static int __devinit bfin_t350mcqb_probe(struct platform_device *pdev)
447 info = fbinfo->par; 447 info = fbinfo->par;
448 info->fb = fbinfo; 448 info->fb = fbinfo;
449 info->dev = &pdev->dev; 449 info->dev = &pdev->dev;
450 spin_lock_init(&info->lock);
450 451
451 platform_set_drvdata(pdev, fbinfo); 452 platform_set_drvdata(pdev, fbinfo);
452 453