media: via-camera: set device_caps in struct video_device
commit0fe3331e07f0a09c10fd81e48976255b50b2e607
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:15:23 +0000 (26 03:15 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:08:18 +0000 (22 15:08 -0400)
tree7eed61e5e5d074adfa0eecc7427e964571de012f
parent3c7812e7ef30d177fd6234d03d1c1612447fd9f8
media: via-camera: 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/via-camera.c