diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-11-23 07:39:53 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 05:22:25 -0500 |
commit | 4ed0d6a9cf80a4a1f74e18d36a2ee5ef391a8f27 (patch) | |
tree | 9831b8d446ee3ef524e9f3d4936d8d79284d1052 /include/media | |
parent | d9bfbcc0c2bc15b9ce79e71a0b3d7e69a714d621 (diff) |
[media] v4l2-common: remove unused helper functions
Several control helper functions are no longer needed since most drivers
are now converted to the control framework. So we can delete them.
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 | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 48f974866f13..6b4951de7592 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -88,16 +88,6 @@ const char *v4l2_ctrl_get_name(u32 id); | |||
88 | const char * const *v4l2_ctrl_get_menu(u32 id); | 88 | const char * const *v4l2_ctrl_get_menu(u32 id); |
89 | const s64 *v4l2_ctrl_get_int_menu(u32 id, u32 *len); | 89 | const s64 *v4l2_ctrl_get_int_menu(u32 id, u32 *len); |
90 | int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); | 90 | int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def); |
91 | int v4l2_ctrl_query_menu(struct v4l2_querymenu *qmenu, | ||
92 | struct v4l2_queryctrl *qctrl, const char * const *menu_items); | ||
93 | #define V4L2_CTRL_MENU_IDS_END (0xffffffff) | ||
94 | int v4l2_ctrl_query_menu_valid_items(struct v4l2_querymenu *qmenu, const u32 *ids); | ||
95 | |||
96 | /* Note: ctrl_classes points to an array of u32 pointers. Each u32 array is a | ||
97 | 0-terminated array of control IDs. Each array must be sorted low to high | ||
98 | and belong to the same control class. The array of u32 pointers must also | ||
99 | be sorted, from low class IDs to high class IDs. */ | ||
100 | u32 v4l2_ctrl_next(const u32 * const *ctrl_classes, u32 id); | ||
101 | 91 | ||
102 | /* ------------------------------------------------------------------------- */ | 92 | /* ------------------------------------------------------------------------- */ |
103 | 93 | ||