diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-15 13:09:17 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-15 13:09:17 -0200 |
commit | 11b97f9139c281b7e9d67cec412df077d1cad70b (patch) | |
tree | a284cdb8b5ab312d56f5825b30bc771488255ffd /linux/drivers/media/video/em28xx | |
parent | ce7d8602e81c6657ec61662bfa1433091981aeb8 (diff) | |
download | mediapointer-dvb-s2-11b97f9139c281b7e9d67cec412df077d1cad70b.tar.gz mediapointer-dvb-s2-11b97f9139c281b7e9d67cec412df077d1cad70b.tar.bz2 |
v4l core: remove the unused .hardware V4L1 field
From: Mauro Carvalho Chehab <mchehab@infradead.org>
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 'linux/drivers/media/video/em28xx')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-video.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c index 94a0a4e9b..45bbefeff 100644 --- a/linux/drivers/media/video/em28xx/em28xx-video.c +++ b/linux/drivers/media/video/em28xx/em28xx-video.c @@ -1714,7 +1714,6 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, /* Fills VBI device info */ dev->vbi_dev->type = VFL_TYPE_VBI; - dev->vbi_dev->hardware = 0; dev->vbi_dev->fops = &em28xx_v4l_fops; dev->vbi_dev->minor = -1; dev->vbi_dev->dev = &dev->udev->dev; @@ -1726,7 +1725,6 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, dev->vdev->type = VID_TYPE_CAPTURE; if (dev->has_tuner) dev->vdev->type |= VID_TYPE_TUNER; - dev->vdev->hardware = 0; dev->vdev->fops = &em28xx_v4l_fops; #if 0 dev->vdev->f_op=&em28xx_v4l_fops; |