media: v4l2-dev.h: fix doc warning
authorHans Verkuil <[email protected]>
Thu, 3 May 2018 12:47:10 +0000 (08:47 -0400)
committerMauro Carvalho Chehab <[email protected]>
Wed, 9 May 2018 20:16:27 +0000 (16:16 -0400)
Fix this warning when building the docs:

include/media/v4l2-dev.h:42: warning: Enum value 'VFL_TYPE_MAX' not described in enum 'vfl_devnode_type'

Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
include/media/v4l2-dev.h

index f60cf9cf3b9cff9381bef6e125a3989e33b906f4..73073f6ee48cf8b4b25bda5d0fa0439a3cef35a7 100644 (file)
@@ -30,6 +30,7 @@
  * @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 VFL types, must always be last in the enum
  */
 enum vfl_devnode_type {
        VFL_TYPE_GRABBER        = 0,