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/usbvideo | |
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/usbvideo')
-rw-r--r-- | linux/drivers/media/video/usbvideo/usbvideo.c | 1 | ||||
-rw-r--r-- | linux/drivers/media/video/usbvideo/vicam.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/usbvideo/usbvideo.c b/linux/drivers/media/video/usbvideo/usbvideo.c index e4981f41c..484628734 100644 --- a/linux/drivers/media/video/usbvideo/usbvideo.c +++ b/linux/drivers/media/video/usbvideo/usbvideo.c @@ -952,7 +952,6 @@ static const struct file_operations usbvideo_fops = { static const struct video_device usbvideo_template = { .owner = THIS_MODULE, .type = VID_TYPE_CAPTURE, - .hardware = VID_HARDWARE_CPIA, .fops = &usbvideo_fops, }; diff --git a/linux/drivers/media/video/usbvideo/vicam.c b/linux/drivers/media/video/usbvideo/vicam.c index 679ef6771..c1dc9a40c 100644 --- a/linux/drivers/media/video/usbvideo/vicam.c +++ b/linux/drivers/media/video/usbvideo/vicam.c @@ -1080,7 +1080,6 @@ static struct video_device vicam_template = { .owner = THIS_MODULE, .name = "ViCam-based USB Camera", .type = VID_TYPE_CAPTURE, - .hardware = VID_HARDWARE_VICAM, .fops = &vicam_fops, .minor = -1, }; |