From fedb78d416ebfda50eb774e52c78ddb3830ac234 Mon Sep 17 00:00:00 2001 From: Oliver Endriss Date: Wed, 9 Aug 2006 16:43:29 +0200 Subject: [saa7146] Fixed image grabbing (VIDIOCGMBUF ioctl) From: Oliver Endriss Fixed regression reported by Peter Holik: Image grabbing failed because of invalid config option VIDEO_V4L1_COMPAT. Should be CONFIG_VIDEO_V4L1_COMPAT. Signed-off-by: Oliver Endriss --- linux/drivers/media/common/saa7146_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c index 8b5dce34d..1fb373ee2 100644 --- a/linux/drivers/media/common/saa7146_video.c +++ b/linux/drivers/media/common/saa7146_video.c @@ -1191,7 +1191,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int } return err; } -#ifdef VIDEO_V4L1_COMPAT +#ifdef CONFIG_VIDEO_V4L1_COMPAT case VIDIOCGMBUF: { struct video_mbuf *mbuf = arg; -- cgit v1.2.3