V4L/DVB (7456): vivi: Add 32bit compatibility to the module
Mauro Carvalho Chehab [Fri, 28 Mar 2008 20:45:51 +0000 (17:45 -0300)]
Thanks to Jiri Slaby <jirislaby@gmail.com> for pointing this issue.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

drivers/media/video/vivi.c

index 1db067c..0e62317 100644 (file)
@@ -1182,6 +1182,7 @@ static const struct file_operations vivi_fops = {
        .read           = vivi_read,
        .poll           = vivi_poll,
        .ioctl          = video_ioctl2, /* V4L2 ioctl handler */
+        .compat_ioctl   = v4l_compat_ioctl32,
        .mmap           = vivi_mmap,
        .llseek         = no_llseek,
 };