From d0616b0ea22ac655dcf6179bfd972627b9c05eb4 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 10 Nov 2005 12:40:42 +0000 Subject: 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 Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/cx88/cx88-video.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/cx88/cx88-video.c') 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, }; -- cgit v1.2.3