diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-11-23 07:39:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 05:25:36 -0500 |
commit | 4daee77976718b3e8136e37872d7ad5c36754e25 (patch) | |
tree | e8376779c8f56390180d5d27256920be2fb8b7ed /include/media | |
parent | 79fbc209f11b82d8cad37e20da71851fdceecfbd (diff) |
[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')
-rw-r--r-- | include/media/v4l2-common.h | 4 |
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 @@ | |||
80 | 80 | ||
81 | /* ------------------------------------------------------------------------- */ | 81 | /* ------------------------------------------------------------------------- */ |
82 | 82 | ||
83 | /* Control helper functions */ | 83 | /* Control helper function */ |
84 | 84 | ||
85 | int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl, | ||
86 | const char * const *menu_items); | ||
87 | int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); | 85 | int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); |
88 | 86 | ||
89 | /* ------------------------------------------------------------------------- */ | 87 | /* ------------------------------------------------------------------------- */ |