diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-22 09:58:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-23 07:04:21 -0400 |
commit | 6d85d7d7eb86f0f16f9da94d5999ed4d55396d2e (patch) | |
tree | 39b7ca26e1df754fd8e0efa6838a1656bc3c4ea6 /include/media | |
parent | f6fa883bb733376b2ac1c4772cce5b4316ab693f (diff) |
[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>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-ctrls.h | 4 | ||||
-rw-r--r-- | include/media/v4l2-dv-timings.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index 8b59336b2217..d6f63406b885 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h | |||
@@ -534,6 +534,8 @@ struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, | |||
534 | const struct v4l2_ctrl_ops *ops, | 534 | const struct v4l2_ctrl_ops *ops, |
535 | u32 id, u8 max, u8 def, const s64 *qmenu_int); | 535 | u32 id, u8 max, u8 def, const s64 *qmenu_int); |
536 | 536 | ||
537 | typedef bool (*v4l2_ctrl_filter)(const struct v4l2_ctrl *ctrl); | ||
538 | |||
537 | /** | 539 | /** |
538 | * v4l2_ctrl_add_handler() - Add all controls from handler @add to | 540 | * v4l2_ctrl_add_handler() - Add all controls from handler @add to |
539 | * handler @hdl. | 541 | * handler @hdl. |
@@ -550,7 +552,7 @@ struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl, | |||
550 | */ | 552 | */ |
551 | int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, | 553 | int v4l2_ctrl_add_handler(struct v4l2_ctrl_handler *hdl, |
552 | struct v4l2_ctrl_handler *add, | 554 | struct v4l2_ctrl_handler *add, |
553 | bool (*filter)(const struct v4l2_ctrl *ctrl)); | 555 | v4l2_ctrl_filter filter); |
554 | 556 | ||
555 | /** | 557 | /** |
556 | * v4l2_ctrl_radio_filter() - Standard filter for radio controls. | 558 | * v4l2_ctrl_radio_filter() - Standard filter for radio controls. |
diff --git a/include/media/v4l2-dv-timings.h b/include/media/v4l2-dv-timings.h index 1113c8874c26..65caadf13eec 100644 --- a/include/media/v4l2-dv-timings.h +++ b/include/media/v4l2-dv-timings.h | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | extern const struct v4l2_dv_timings v4l2_dv_timings_presets[]; | 29 | extern const struct v4l2_dv_timings v4l2_dv_timings_presets[]; |
30 | 30 | ||
31 | /** | 31 | /* |
32 | * v4l2_check_dv_timings_fnc - timings check callback | 32 | * v4l2_check_dv_timings_fnc - timings check callback |
33 | * | 33 | * |
34 | * @t: the v4l2_dv_timings struct. | 34 | * @t: the v4l2_dv_timings struct. |