]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/cpia.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6-omap-h63xx.git] / drivers / media / video / cpia.c
index 7c630f5ee7258faccf51b06180c76859e5f502da..2a81376ef5038dadaf621e2441588bab05eed4c6 100644 (file)
@@ -3792,7 +3792,9 @@ static const struct file_operations cpia_fops = {
        .read           = cpia_read,
        .mmap           = cpia_mmap,
        .ioctl          = cpia_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
+#endif
        .llseek         = no_llseek,
 };