]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging/most/video: set device_caps in struct video_device
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 26 Jun 2019 08:30:17 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 06:48:41 +0000 (08:48 +0200)
commit338d9637361c87730be5960585cc481cd144cf20
tree8da344f6042e1976de63ee096bad61be2cd337e3
parenta9f69bd555ccfa64e3460ed7c5321e1f1c34536d
staging/most/video: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/video/video.c