]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: v4l2-dev: convert VFL_TYPE_* into an enum
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 28 Sep 2017 22:39:32 +0000 (18:39 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 16:49:40 +0000 (11:49 -0500)
commit4839c58f034ae41e2dfdd097240a69622cab4c73
treef1cff35db563349cdfe99fa0c5621e185262ff47
parent2120961f0cd71837e889a84e93dc54b647400c4e
media: v4l2-dev: convert VFL_TYPE_* into an enum

Using enums makes easier to document, as it can use kernel-doc
markups. It also allows cross-referencing, with increases the
kAPI readability.

Please notice that now cx88_querycap() has to have a default for
the VFL type, as there are more types than supported by the driver.

Acked-By: Mike Isely <isely@pobox.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/kapi/v4l2-dev.rst
drivers/media/pci/cx88/cx88-blackbird.c
drivers/media/pci/cx88/cx88-video.c
drivers/media/pci/cx88/cx88.h
drivers/media/pci/saa7134/saa7134-video.c
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
drivers/media/usb/tm6000/tm6000-video.c
drivers/media/v4l2-core/v4l2-dev.c
include/media/v4l2-dev.h
include/media/v4l2-mediabus.h