V4L/DVB (7456): vivi: Add 32bit compatibility to the module
authorMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 28 Mar 2008 20:45:51 +0000 (17:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:56 +0000 (14:07 -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 1db067c028157609c895b0124e72143acd94c8b2..0e623179f8a57061531f6b43bebf0ba9f2bb51e8 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,
 };