diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-12-10 18:35:34 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-22 09:58:46 +0300 |
commit | 145fc8e8592d963fffae195e54989d396c225057 (patch) | |
tree | 6ffb82fe883e0906231bbe00354a9267d20265b5 /drivers/media/platform/sh_veu.c | |
parent | e0e2e64bfcd2974dbaab7d3e4bdbf15cd9b0d107 (diff) | |
download | linux-145fc8e8592d963fffae195e54989d396c225057.tar.xz |
sh_veu: v4l2_dev wasn't set
commit ab3120300be067a2d41a027c41db0b2c662ab200 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
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 744e43b480bc..f698e322a1cd 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c @@ -1183,6 +1183,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; |