diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-12-10 10:35:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-01 05:56:55 -0400 |
commit | ab3120300be067a2d41a027c41db0b2c662ab200 (patch) | |
tree | aaa2a37cb64798797f6c6b3cf92256f686188df1 /drivers/media/platform/sh_veu.c | |
parent | 41f03a00536ebb3d72c051f9e7efe2d4ab76ebc8 (diff) |
[media] 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 <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v3.11 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/sh_veu.c')
-rw-r--r-- | drivers/media/platform/sh_veu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index a901b6248557..2554f3719b9e 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c | |||
@@ -1158,6 +1158,7 @@ static int sh_veu_probe(struct platform_device *pdev) | |||
1158 | } | 1158 | } |
1159 | 1159 | ||
1160 | *vdev = sh_veu_videodev; | 1160 | *vdev = sh_veu_videodev; |
1161 | vdev->v4l2_dev = &veu->v4l2_dev; | ||
1161 | spin_lock_init(&veu->lock); | 1162 | spin_lock_init(&veu->lock); |
1162 | mutex_init(&veu->fop_lock); | 1163 | mutex_init(&veu->fop_lock); |
1163 | vdev->lock = &veu->fop_lock; | 1164 | vdev->lock = &veu->fop_lock; |