media: marvell-ccic: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 26 Jun 2019 07:14:15 +0000 (03:14 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 22 Jul 2019 19:06:54 +0000 (15:06 -0400)
commit34828fad5ecc709bd76194a1ec89424973f70c48
treeb84050d2c95b9a6f23dda5b5732841774bb8989c
parentbc6be26ed825ef7a9a131637627ab4719a586f4c
media: marvell-ccic: 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>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/marvell-ccic/mcam-core.c