aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-common.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-11-23 09:39:55 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-25 08:25:36 -0200
commit4daee77976718b3e8136e37872d7ad5c36754e25 (patch)
treee8376779c8f56390180d5d27256920be2fb8b7ed /include/media/v4l2-common.h
parent[media] v4l2-ctrl: move function prototypes from common.h to ctrls.h (diff)
downloadlinux-dev-4daee77976718b3e8136e37872d7ad5c36754e25.tar.xz
linux-dev-4daee77976718b3e8136e37872d7ad5c36754e25.zip
[media] v4l2-common: move v4l2_ctrl_check to cx2341x
The v4l2_ctrl_check() helper function is now only used in cx2341x. Move it there and make it static. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/v4l2-common.h')
-rw-r--r--include/media/v4l2-common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index c69d91d32e59..1cc0c5ba16b3 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -80,10 +80,8 @@
/* ------------------------------------------------------------------------- */
-/* Control helper functions */
+/* Control helper function */
-int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl,
- const char * const *menu_items);
int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def);
/* ------------------------------------------------------------------------- */