diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-09-06 11:23:11 +0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-09-23 01:35:02 +0400 |
commit | 232703fbe132eb2cbe848d28627e19cd1084a8cc (patch) | |
tree | cfbc55e889d1dff3508a77ff27fd98cdb200f106 /drivers/video/bfin-lq035q1-fb.c | |
parent | 2636ff6b0df904cf1c982f580860204a386d177f (diff) | |
download | linux-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.c | 1 |
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; |