[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <32177258712660011096@wsc.cz>
Date: Tue, 8 May 2007 20:24:46 +0200 (CEST)
From: Jiri Slaby <jirislaby@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/2] V4L: videodev, allow VIDIOCGMBUF
videodev, allow VIDIOCGMBUF
this is 'v' compat ioctl handled in v4l2
Cc: Mauro Carvalho Chehab <video4linux-list@...hat.com>
Signed-off-by: Jiri Slaby <jirislaby@...il.com>
---
commit fdc535e5e7c1b1781e903d4d21e1f657a9ac12c9
tree 8beb32a89d2679b14577762ebec8fb3c1e81fcaf
parent 94b6ccaf1ca50632014202d3eeb99a0e23185ddb
author Jiri Slaby <jirislaby@...il.com> Sat, 05 May 2007 17:47:31 +0200
committer Jiri Slaby <jirislaby@...il.com> Sat, 05 May 2007 17:47:31 +0200
drivers/media/video/videodev.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index a3cef80..099ad99 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -438,7 +438,10 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
}
if (_IOC_TYPE(cmd)=='v')
- return v4l_compat_translate_ioctl(inode,file,cmd,arg,
+#ifdef CONFIG_VIDEO_V4L1_COMPAT
+ if (cmd != VIDIOCGMBUF) /* <-- handled below vvv */
+#endif
+ return v4l_compat_translate_ioctl(inode,file,cmd,arg,
__video_do_ioctl);
switch(cmd) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists