From: Hans Verkuil Date: Wed, 10 Dec 2014 15:35:34 +0000 (-0300) Subject: [media] sh_veu: v4l2_dev wasn't set X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ab3120300be067a2d41a027c41db0b2c662ab200;p=linux-beck.git [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 Cc: # for v3.11 and up Signed-off-by: Mauro Carvalho Chehab --- 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) } *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;