include: media: Add vfl_devnode_type of VFL_TYPE_VIDEO
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 23 Jun 2020 09:35:24 +0000 (10:35 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:14 +0000 (16:34 +0100)
Upsstream are renaming VFL_TYPE_GRABBER to VFL_TYPE_VIDEO.
To make backporting the upstream Unicam driver easier, add an
extra enum entry (same as VFL_TYPE_GRABBER) to match that.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
include/media/v4l2-dev.h

index 8f2befe..4cc362a 100644 (file)
@@ -34,6 +34,7 @@
  */
 enum vfl_devnode_type {
        VFL_TYPE_GRABBER        = 0,
+       VFL_TYPE_VIDEO = VFL_TYPE_GRABBER,
        VFL_TYPE_VBI,
        VFL_TYPE_RADIO,
        VFL_TYPE_SUBDEV,