[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>
This commit is contained in:
Hans Verkuil
2014-11-23 09:39:55 -03:00
committed by Mauro Carvalho Chehab
parent 79fbc209f1
commit 4daee77976
3 changed files with 30 additions and 33 deletions

View File

@@ -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);
/* ------------------------------------------------------------------------- */