diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-26 07:26:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-27 10:07:10 -0400 |
commit | 0ea6bc8d43c9ee3c5384bea184eab020927a5b2c (patch) | |
tree | f8e4988ac5612179b5fdd906e375bd1fde7ed636 /drivers/media/video/usbvision | |
parent | c52e4f5836cff0a70a25665f475cf5294c9fe5eb (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.c | 3 |
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 | ||
1407 | static struct video_device usbvision_video_template = { | 1407 | static 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 | ||
1445 | static struct video_device usbvision_radio_template = { | 1444 | static 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 | ||
1467 | static struct video_device usbvision_vbi_template= | 1465 | static 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", |