[PATCH] media: v4l2-dev.h: document VFL_TYPE_MAX

From: Mauro Carvalho Chehab
Date: Mon May 07 2018 - 05:23:57 EST


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@xxxxxxxxxx>
---
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