From b809e0a0b09c4c4954d50ad8720df4b7ed56c7b9 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 28 Mar 2008 14:45:51 -0300 Subject: vivi: Add 32bit compatibility to the module From: Mauro Carvalho Chehab Thanks to Jiri Slaby for pointing this issue. CC: Jiri Slaby Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/vivi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux') diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c index 4222abbfc..9a168917f 100644 --- a/linux/drivers/media/video/vivi.c +++ b/linux/drivers/media/video/vivi.c @@ -1256,6 +1256,9 @@ static const struct file_operations vivi_fops = { .read = vivi_read, .poll = vivi_poll, .ioctl = video_ioctl2, /* V4L2 ioctl handler */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) + .compat_ioctl = v4l_compat_ioctl32, +#endif .mmap = vivi_mmap, .llseek = no_llseek, }; -- cgit v1.2.3