media: fsl-viu: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:12:55 +0000 (03:12 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 18:48:39 +0000 (14:48 -0400)
commitb3322e3e1aae4705f0d3ca3478a5cf484255c0a7
tree59dc600bfffe422b43a7ec1b0079356ee49e889f
parent994587c3b27615fd0309ce61fe2cc5695a64b934
media: fsl-viu: set device_caps in struct video_device

Instead of filling in the struct v4l2_capability device_caps
field, fill in the struct video_device device_caps field.

That way the V4L2 core knows what the capabilities of the
video device are.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/fsl-viu.c