summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/omap24xxcam.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-11 08:34:09 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-11 08:34:09 +0100
commit2c1c5e3cf1b2ae3e5212211fad2e578a12143f2d (patch)
tree4989c683b80894cead0dcfbe5df9cd3f879dc520 /linux/drivers/media/video/omap24xxcam.c
parent702a5e887ca16703b8eba2a7f3ee4e62a1f52658 (diff)
downloadmediapointer-dvb-s2-2c1c5e3cf1b2ae3e5212211fad2e578a12143f2d.tar.gz
mediapointer-dvb-s2-2c1c5e3cf1b2ae3e5212211fad2e578a12143f2d.tar.bz2
omap24xxcam: don't set vfl_type.
From: Hans Verkuil <hverkuil@xs4all.nl> The vfl_type field is set by the core, so anything you fill in here will be overwritten. And it will be set to a VFL_TYPE_ value, not a VID_TYPE_ value which is an obsolete V4L1 type. Since these V4L1 types have been made unavailable for V4L2 drivers, this driver stopped compiling. In this case the fix is just removing this assignment. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Sakari Ailus <sakari.ailus@nokia.com>
Diffstat (limited to 'linux/drivers/media/video/omap24xxcam.c')
-rw-r--r--linux/drivers/media/video/omap24xxcam.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/drivers/media/video/omap24xxcam.c b/linux/drivers/media/video/omap24xxcam.c
index 73eb656ac..61f3c83db 100644
--- a/linux/drivers/media/video/omap24xxcam.c
+++ b/linux/drivers/media/video/omap24xxcam.c
@@ -1665,7 +1665,6 @@ static int omap24xxcam_device_register(struct v4l2_int_device *s)
vfd->parent = cam->dev;
strlcpy(vfd->name, CAM_NAME, sizeof(vfd->name));
- vfd->vfl_type = VID_TYPE_CAPTURE | VID_TYPE_CHROMAKEY;
vfd->fops = &omap24xxcam_fops;
vfd->minor = -1;
vfd->ioctl_ops = &omap24xxcam_ioctl_fops;