diff options
author | Antti Palosaari <crope@iki.fi> | 2013-12-11 18:03:07 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-05 12:14:59 -0500 |
commit | d42626bda4629ed9ad2ebcf44a7fece0777caa58 (patch) | |
tree | 27d003c338a63761d364a3f33fffbffa322accf7 /include/media | |
parent | 5121288d23e1417cce4907f7d875e3bfbf50ac4c (diff) |
[media] v4l: add device type for Software Defined Radio
Add new V4L device type VFL_TYPE_SDR for Software Defined Radio.
It is registered as /dev/swradio0 (/dev/sdr0 was already reserved).
Signed-off-by: Antti Palosaari <crope@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-dev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h index c768c9f8abc2..eec6e460f649 100644 --- a/include/media/v4l2-dev.h +++ b/include/media/v4l2-dev.h | |||
@@ -24,7 +24,8 @@ | |||
24 | #define VFL_TYPE_VBI 1 | 24 | #define VFL_TYPE_VBI 1 |
25 | #define VFL_TYPE_RADIO 2 | 25 | #define VFL_TYPE_RADIO 2 |
26 | #define VFL_TYPE_SUBDEV 3 | 26 | #define VFL_TYPE_SUBDEV 3 |
27 | #define VFL_TYPE_MAX 4 | 27 | #define VFL_TYPE_SDR 4 |
28 | #define VFL_TYPE_MAX 5 | ||
28 | 29 | ||
29 | /* Is this a receiver, transmitter or mem-to-mem? */ | 30 | /* Is this a receiver, transmitter or mem-to-mem? */ |
30 | /* Ignored for VFL_TYPE_SUBDEV. */ | 31 | /* Ignored for VFL_TYPE_SUBDEV. */ |