[media] doc-rst: Fix some typedef ugly warnings

Sphinx can't handle well typedefs. Change two typedef
occurrences, in order to cleanup some of such warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab
2016-07-22 10:58:03 -03:00
parent f6fa883bb7
commit 6d85d7d7eb
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -534,6 +534,8 @@ struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
const struct v4l2_ctrl_ops *ops, const struct v4l2_ctrl_ops *ops,
u32 id, u8 max, u8 def, const s64 *qmenu_int); u32 id, u8 max, u8 def, const s64 *qmenu_int);
typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl);
/** /**
* v4l2_ctrl_add_handler() - Add all controls from handler @add to * v4l2_ctrl_add_handler() - Add all controls from handler @add to
* handler @hdl. * handler @hdl.
@@ -550,7 +552,7 @@ struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
*/ */
int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl,
struct v4l2_ctrl_handler *add, struct v4l2_ctrl_handler *add,
bool (*filter)(const struct v4l2_ctrl *ctrl)); v4l2_ctrl_filter filter);
/** /**
* v4l2_ctrl_radio_filter() - Standard filter for radio controls. * v4l2_ctrl_radio_filter() - Standard filter for radio controls.
+1 -1
View File
@@ -28,7 +28,7 @@
*/ */
extern const struct v4l2_dv_timings v4l2_dv_timings_presets[]; extern const struct v4l2_dv_timings v4l2_dv_timings_presets[];
/** /*
* v4l2_check_dv_timings_fnc - timings check callback * v4l2_check_dv_timings_fnc - timings check callback
* *
* @t: the v4l2_dv_timings struct. * @t: the v4l2_dv_timings struct.