diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-15 11:09:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-22 10:01:24 -0400 |
commit | 22c4a4e98ece0eaff13b3d0ac73c5283013eb6b1 (patch) | |
tree | 4be32c9940460580decfd692e7de78dc21058e64 /drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |
parent | 786e9d4c3fdc3c913f1a735bcb979bfd62b275be (diff) |
V4L/DVB (6320): v4l core: remove the unused .hardware V4L1 field
struct video_device used to define a .hardware field. While
initialized on severl drivers, this field is never used inside V4L.
However, drivers using it need to include the old V4L1 header.
This seems to cause compilation troubles with some random configs.
Better just to remove it from all drivers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 4563b3df8a0d..7a596ea7cfe6 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -1121,15 +1121,12 @@ static const struct file_operations vdev_fops = { | |||
1121 | }; | 1121 | }; |
1122 | 1122 | ||
1123 | 1123 | ||
1124 | #define VID_HARDWARE_PVRUSB2 38 /* FIXME : need a good value */ | ||
1125 | |||
1126 | static struct video_device vdev_template = { | 1124 | static struct video_device vdev_template = { |
1127 | .owner = THIS_MODULE, | 1125 | .owner = THIS_MODULE, |
1128 | .type = VID_TYPE_CAPTURE | VID_TYPE_TUNER, | 1126 | .type = VID_TYPE_CAPTURE | VID_TYPE_TUNER, |
1129 | .type2 = (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VBI_CAPTURE | 1127 | .type2 = (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VBI_CAPTURE |
1130 | | V4L2_CAP_TUNER | V4L2_CAP_AUDIO | 1128 | | V4L2_CAP_TUNER | V4L2_CAP_AUDIO |
1131 | | V4L2_CAP_READWRITE), | 1129 | | V4L2_CAP_READWRITE), |
1132 | .hardware = VID_HARDWARE_PVRUSB2, | ||
1133 | .fops = &vdev_fops, | 1130 | .fops = &vdev_fops, |
1134 | }; | 1131 | }; |
1135 | 1132 | ||