Cleanup this Sphinx warning:
read./include/media/v4l2-dev.h:42: warning: Enum value 'VFL_TYPE_MAX' not described in enum 'vfl_devnode_type'
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
include/media/v4l2-dev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index f60cf9cf3b9c..9e73d7e2cee0 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -30,6 +30,8 @@
* @VFL_TYPE_SUBDEV: for V4L2 subdevices
* @VFL_TYPE_SDR: for Software Defined Radio tuners
* @VFL_TYPE_TOUCH: for touch sensors
+ *
+ * @VFL_TYPE_MAX: number of elements of &enum vfl_devnode_type
*/
enum vfl_devnode_type {
VFL_TYPE_GRABBER = 0,
--
2.17.0
On 07/05/18 11:22, Mauro Carvalho Chehab wrote:
> Cleanup this Sphinx warning:
> read./include/media/v4l2-dev.h:42: warning: Enum value 'VFL_TYPE_MAX' not described in enum 'vfl_devnode_type'
Posted patch for this already, part of an upcoming pull request from me:
https://patchwork.linuxtv.org/patch/49189/
Regards,
Hans
>
> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
> ---
> include/media/v4l2-dev.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
> index f60cf9cf3b9c..9e73d7e2cee0 100644
> --- a/include/media/v4l2-dev.h
> +++ b/include/media/v4l2-dev.h
> @@ -30,6 +30,8 @@
> * @VFL_TYPE_SUBDEV: for V4L2 subdevices
> * @VFL_TYPE_SDR: for Software Defined Radio tuners
> * @VFL_TYPE_TOUCH: for touch sensors
> + *
> + * @VFL_TYPE_MAX: number of elements of &enum vfl_devnode_type
> */
> enum vfl_devnode_type {
> VFL_TYPE_GRABBER = 0,
>