summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx88/cx88.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-09-28 18:39:32 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-18 11:49:40 -0500
commit4839c58f034ae41e2dfdd097240a69622cab4c73 (patch)
treef1cff35db563349cdfe99fa0c5621e185262ff47 /drivers/media/pci/cx88/cx88.h
parent2120961f0cd71837e889a84e93dc54b647400c4e (diff)
downloadlinux-stable-4839c58f034ae41e2dfdd097240a69622cab4c73.tar.gz
linux-stable-4839c58f034ae41e2dfdd097240a69622cab4c73.tar.bz2
linux-stable-4839c58f034ae41e2dfdd097240a69622cab4c73.zip
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>
Diffstat (limited to 'drivers/media/pci/cx88/cx88.h')
-rw-r--r--drivers/media/pci/cx88/cx88.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h
index 6777926f20f2..07a33f02fef4 100644
--- a/drivers/media/pci/cx88/cx88.h
+++ b/drivers/media/pci/cx88/cx88.h
@@ -734,7 +734,7 @@ int cx8802_start_dma(struct cx8802_dev *dev,
int cx88_enum_input(struct cx88_core *core, struct v4l2_input *i);
int cx88_set_freq(struct cx88_core *core, const struct v4l2_frequency *f);
int cx88_video_mux(struct cx88_core *core, unsigned int input);
-void cx88_querycap(struct file *file, struct cx88_core *core,
- struct v4l2_capability *cap);
+int cx88_querycap(struct file *file, struct cx88_core *core,
+ struct v4l2_capability *cap);
#endif