summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-11-10 12:40:42 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-11-10 12:40:42 +0000
commitd0616b0ea22ac655dcf6179bfd972627b9c05eb4 (patch)
tree113e90e6ac5a304236a389aa3d87dbae25ef2386 /linux/drivers/media/video/cx88
parent1cf398ff53ade8f68b76983ff33c737cc1252a5e (diff)
downloadmediapointer-dvb-s2-d0616b0ea22ac655dcf6179bfd972627b9c05eb4.tar.gz
mediapointer-dvb-s2-d0616b0ea22ac655dcf6179bfd972627b9c05eb4.tar.bz2
em28xx IR fixup and explicit compat_ioctl32 handler
- Commented the code to avoid repeating events when pressing IR keys. - Included explicit compat_ioctl32 handler. CC: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 910c773f7..2fc3080d9 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -1,5 +1,5 @@
/*
- * $Id: cx88-video.c,v 1.101 2005/11/09 18:30:51 mchehab Exp $
+ * $Id: cx88-video.c,v 1.102 2005/11/10 12:40:42 mchehab Exp $
*
* device driver for Conexant 2388x based TV cards
* video4linux video interface
@@ -2031,7 +2031,9 @@ static struct file_operations video_fops =
.poll = video_poll,
.mmap = video_mmap,
.ioctl = video_ioctl,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.llseek = no_llseek,
};
@@ -2059,7 +2061,9 @@ static struct file_operations radio_fops =
.open = video_open,
.release = video_release,
.ioctl = radio_ioctl,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.llseek = no_llseek,
};