summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJaime Velasco Juan <jsagarribay@gmail.com>2008-01-27 16:25:00 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 15:14:58 +0100
commit2de3a5a5c52ae1550be537829bb487131430d74b (patch)
tree5077b52845248a6fc306cdec2cf3842c651c9c2e /drivers/media
parentV4L/DVB (7089): V4L: stkwebcam: Power management support (diff)
downloadlinux-2de3a5a5c52ae1550be537829bb487131430d74b.tar.xz
linux-2de3a5a5c52ae1550be537829bb487131430d74b.zip
V4L/DVB (7090): V4L: stkwebcam: use v4l_compat_ioctl32
Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/stk-webcam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/stk-webcam.c b/drivers/media/video/stk-webcam.c
index f84e8d511763..94a366cc9976 100644
--- a/drivers/media/video/stk-webcam.c
+++ b/drivers/media/video/stk-webcam.c
@@ -1314,6 +1314,9 @@ static struct file_operations v4l_stk_fops = {
.poll = v4l_stk_poll,
.mmap = v4l_stk_mmap,
.ioctl = video_ioctl2,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = v4l_compat_ioctl32,
+#endif
.llseek = no_llseek
};