summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-video.c
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/em28xx/em28xx-video.c
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/em28xx/em28xx-video.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index 890ed2715..0b4256e6d 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -1747,6 +1747,10 @@ static struct file_operations em28xx_v4l_fops = {
.poll = em28xx_v4l2_poll,
.mmap = em28xx_v4l2_mmap,
.llseek = no_llseek,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
+ .compat_ioctl = v4l_compat_ioctl32,
+#endif
+
};
/******************************** usb interface *****************************************/