summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cpia2
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-15 13:09:17 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-15 13:09:17 -0200
commit11b97f9139c281b7e9d67cec412df077d1cad70b (patch)
treea284cdb8b5ab312d56f5825b30bc771488255ffd /linux/drivers/media/video/cpia2
parentce7d8602e81c6657ec61662bfa1433091981aeb8 (diff)
downloadmediapointer-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/cpia2')
-rw-r--r--linux/drivers/media/video/cpia2/cpia2_v4l.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/drivers/media/video/cpia2/cpia2_v4l.c b/linux/drivers/media/video/cpia2/cpia2_v4l.c
index e3aaba1e0..e378abec8 100644
--- a/linux/drivers/media/video/cpia2/cpia2_v4l.c
+++ b/linux/drivers/media/video/cpia2/cpia2_v4l.c
@@ -86,10 +86,6 @@ MODULE_LICENSE("GPL");
#define ABOUT "V4L-Driver for Vision CPiA2 based cameras"
-#ifndef VID_HARDWARE_CPIA2
-#error "VID_HARDWARE_CPIA2 should have been defined in linux/videodev.h"
-#endif
-
struct control_menu_info {
int value;
char name[32];
@@ -1942,7 +1938,6 @@ static struct video_device cpia2_template = {
.type= VID_TYPE_CAPTURE,
.type2 = V4L2_CAP_VIDEO_CAPTURE |
V4L2_CAP_STREAMING,
- .hardware= VID_HARDWARE_CPIA2,
.minor= -1,
.fops= &fops_template,
.release= video_device_release,