aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-dev.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index d129b56e1a9f..a0a6b41c5e09 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -18,20 +18,11 @@
18 18
19#define VIDEO_MAJOR 81 19#define VIDEO_MAJOR 81
20 20
21/* Minor device allocation */
22#define MINOR_VFL_TYPE_GRABBER_MIN 0
23#define MINOR_VFL_TYPE_GRABBER_MAX 63
24#define MINOR_VFL_TYPE_RADIO_MIN 64
25#define MINOR_VFL_TYPE_RADIO_MAX 127
26#define MINOR_VFL_TYPE_VTX_MIN 192
27#define MINOR_VFL_TYPE_VTX_MAX 223
28#define MINOR_VFL_TYPE_VBI_MIN 224
29#define MINOR_VFL_TYPE_VBI_MAX 255
30
31#define VFL_TYPE_GRABBER 0 21#define VFL_TYPE_GRABBER 0
32#define VFL_TYPE_VBI 1 22#define VFL_TYPE_VBI 1
33#define VFL_TYPE_RADIO 2 23#define VFL_TYPE_RADIO 2
34#define VFL_TYPE_VTX 3 24#define VFL_TYPE_VTX 3
25#define VFL_TYPE_MAX 4
35 26
36struct v4l2_ioctl_callbacks; 27struct v4l2_ioctl_callbacks;
37 28
@@ -56,6 +47,7 @@ struct video_device
56 char name[32]; 47 char name[32];
57 int vfl_type; 48 int vfl_type;
58 int minor; 49 int minor;
50 u16 num;
59 /* attribute to differentiate multiple indices on one physical device */ 51 /* attribute to differentiate multiple indices on one physical device */
60 int index; 52 int index;
61 53