]> git.baikalelectronics.ru Git - kernel.git/commit
media: vc04_services/bcm2835-camera: set device_caps in struct video_device
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 4 Jun 2019 11:19:57 +0000 (07:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Jun 2019 12:48:21 +0000 (08:48 -0400)
commit3f0762b216ee035a8a65e2fc6de7f178d2458ea7
treed8482ff8100b41c6392dc4b7fac71578f0183da1
parentfa39189e182caa0f3bc410cbf175881793c49df6
media: vc04_services/bcm2835-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.

But this only really works if all drivers use this, so convert
this driver accordingly.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c