summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Velasco Juan <jsagarribay@gmail.com>2008-01-27 12:25:00 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 11:14:58 -0300
commit2de3a5a5c52ae1550be537829bb487131430d74b (patch)
tree5077b52845248a6fc306cdec2cf3842c651c9c2e
parent1fdd61c0228a32b9a5e10593b225851d8920595b (diff)
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>
-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 f84e8d51176..94a366cc997 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
};