sh_veu: v4l2_dev wasn't set
PATCH 1/1 sh_veu: v4l2_dev wasn't set
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 Hans Verkuil <[email protected]>
--- drivers/media/platform/sh_veu.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/platform/sh_veu.c +1 -0
@@ -1179,6 +1179,7 @@ static int sh_veu_probe(struct platform_device *pdev) } *vdev = sh_veu_videodev; + vdev->v4l2_dev = &veu->v4l2_dev;spin_lock_init (&veu->lock);mutex_init (&veu->fop_lock); vdev->lock = &veu->fop_lock;
Signature · 1 line
2.1.3