From 232703fbe132eb2cbe848d28627e19cd1084a8cc Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 6 Sep 2012 09:23:11 +0200 Subject: video: bf*: Add missing spinlock init It doesn't seem these spinlocks were properly initialized. Signed-off-by: Jean Delvare Signed-off-by: Florian Tobias Schandinat --- drivers/video/bfin-lq035q1-fb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/bfin-lq035q1-fb.c') 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; -- cgit v1.2.3