Commit 8d73f670 authored by Hans Verkuil's avatar Hans Verkuil Committed by Greg Kroah-Hartman

sh_veu: v4l2_dev wasn't set

commit ab312030 upstream.

The v4l2_dev field of struct video_device must be set correctly.
This was never done for this driver, so no video nodes were created
anymore.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb32abbc
...@@ -1179,6 +1179,7 @@ static int sh_veu_probe(struct platform_device *pdev) ...@@ -1179,6 +1179,7 @@ static int sh_veu_probe(struct platform_device *pdev)
} }
*vdev = sh_veu_videodev; *vdev = sh_veu_videodev;
vdev->v4l2_dev = &veu->v4l2_dev;
spin_lock_init(&veu->lock); spin_lock_init(&veu->lock);
mutex_init(&veu->fop_lock); mutex_init(&veu->fop_lock);
vdev->lock = &veu->fop_lock; vdev->lock = &veu->fop_lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment