diff options
author | Jean Delvare <khali@linux-fr.org> | 2012-09-06 09:23:11 +0200 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-09-22 23:35:02 +0200 |
commit | 232703fbe132eb2cbe848d28627e19cd1084a8cc (patch) | |
tree | cfbc55e889d1dff3508a77ff27fd98cdb200f106 /drivers | |
parent | vmlfb: use list_move_tail instead of list_del/list_add_tail (diff) | |
download | linux-232703fbe132eb2cbe848d28627e19cd1084a8cc.tar.xz linux-232703fbe132eb2cbe848d28627e19cd1084a8cc.zip |
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')
-rw-r--r-- | drivers/video/bf54x-lq043fb.c | 1 | ||||
-rw-r--r-- | drivers/video/bfin-lq035q1-fb.c | 1 | ||||
-rw-r--r-- | drivers/video/bfin-t350mcqb-fb.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index 47702ee0a797..ff5663f5c64f 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c @@ -525,6 +525,7 @@ static int __devinit bfin_bf54x_probe(struct platform_device *pdev) info = fbinfo->par; info->fb = fbinfo; info->dev = &pdev->dev; + spin_lock_init(&info->lock); platform_set_drvdata(pdev, fbinfo); 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; 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) info = fbinfo->par; info->fb = fbinfo; info->dev = &pdev->dev; + spin_lock_init(&info->lock); platform_set_drvdata(pdev, fbinfo); |