summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-27 12:25:00 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-27 12:25:00 +0000
commitf29bf2a24e9a67b1b6235c1de88a752f4b5e7994 (patch)
tree54e13223d3b610048b74325aab54a50b47b15de1 /linux
parent861e732942c7f0f5b943d9903e60dabc7688afaa (diff)
downloadmediapointer-dvb-s2-f29bf2a24e9a67b1b6235c1de88a752f4b5e7994.tar.gz
mediapointer-dvb-s2-f29bf2a24e9a67b1b6235c1de88a752f4b5e7994.tar.bz2
V4L: stkwebcam: use v4l_compat_ioctl32
From: Jaime Velasco Juan <jsagarribay@gmail.com> Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/stk-webcam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/stk-webcam.c b/linux/drivers/media/video/stk-webcam.c
index 551eafa6d..1c64afe71 100644
--- a/linux/drivers/media/video/stk-webcam.c
+++ b/linux/drivers/media/video/stk-webcam.c
@@ -1315,6 +1315,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
};