diff mbox

media: v4l2-dev.h: document VFL_TYPE_MAX

Message ID 0293dccdddd73007013831d7e65834a05827e3f8.1525684917.git.mchehab+samsung@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Mauro Carvalho Chehab May 7, 2018, 9:22 a.m. UTC
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 <mchehab+samsung@kernel.org>
---
 include/media/v4l2-dev.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Hans Verkuil May 7, 2018, 9:25 a.m. UTC | #1
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 <mchehab+samsung@kernel.org>
> ---
>  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,
>
diff mbox

Patch

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,