aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-26 07:26:43 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 10:07:10 -0400
commit0ea6bc8d43c9ee3c5384bea184eab020927a5b2c (patch)
treef8e4988ac5612179b5fdd906e375bd1fde7ed636 /drivers/media/video/usbvision
parentc52e4f5836cff0a70a25665f475cf5294c9fe5eb (diff)
V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device
The type and type2 fields were unused and so could be removed. Instead add a vfl_type field that contains the type of the video device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index a65e5db0a325..b977116a0dd9 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1405,7 +1405,6 @@ static const struct v4l2_ioctl_ops usbvision_ioctl_ops = {
1405}; 1405};
1406 1406
1407static struct video_device usbvision_video_template = { 1407static struct video_device usbvision_video_template = {
1408 .type = VID_TYPE_TUNER | VID_TYPE_CAPTURE,
1409 .fops = &usbvision_fops, 1408 .fops = &usbvision_fops,
1410 .ioctl_ops = &usbvision_ioctl_ops, 1409 .ioctl_ops = &usbvision_ioctl_ops,
1411 .name = "usbvision-video", 1410 .name = "usbvision-video",
@@ -1443,7 +1442,6 @@ static const struct v4l2_ioctl_ops usbvision_radio_ioctl_ops = {
1443}; 1442};
1444 1443
1445static struct video_device usbvision_radio_template = { 1444static struct video_device usbvision_radio_template = {
1446 .type = VID_TYPE_TUNER,
1447 .fops = &usbvision_radio_fops, 1445 .fops = &usbvision_radio_fops,
1448 .name = "usbvision-radio", 1446 .name = "usbvision-radio",
1449 .release = video_device_release, 1447 .release = video_device_release,
@@ -1466,7 +1464,6 @@ static const struct file_operations usbvision_vbi_fops = {
1466 1464
1467static struct video_device usbvision_vbi_template= 1465static struct video_device usbvision_vbi_template=
1468{ 1466{
1469 .type = VID_TYPE_TUNER,
1470 .fops = &usbvision_vbi_fops, 1467 .fops = &usbvision_vbi_fops,
1471 .release = video_device_release, 1468 .release = video_device_release,
1472 .name = "usbvision-vbi", 1469 .name = "usbvision-vbi",