acd3034d2151b45ddad98b5df1907c669a3be6b1
[openwrt/staging/wigyori.git] /
1 From 7c74b86873fd5252becee33d092d8317ceff5f5b Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 23 Jun 2020 10:35:24 +0100
4 Subject: [PATCH] include: media: Add vfl_devnode_type of
5 VFL_TYPE_VIDEO
6
7 Upsstream are renaming VFL_TYPE_GRABBER to VFL_TYPE_VIDEO.
8 To make backporting the upstream Unicam driver easier, add an
9 extra enum entry (same as VFL_TYPE_GRABBER) to match that.
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 ---
13 include/media/v4l2-dev.h | 1 +
14 1 file changed, 1 insertion(+)
15
16 --- a/include/media/v4l2-dev.h
17 +++ b/include/media/v4l2-dev.h
18 @@ -34,6 +34,7 @@
19 */
20 enum vfl_devnode_type {
21 VFL_TYPE_GRABBER = 0,
22 + VFL_TYPE_VIDEO = VFL_TYPE_GRABBER,
23 VFL_TYPE_VBI,
24 VFL_TYPE_RADIO,
25 VFL_TYPE_SUBDEV,