]> err.no Git - linux-2.6/blobdiff - drivers/media/video/meye.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6] / drivers / media / video / meye.c
index caa9a7ac6184180a57b297ed510e63a43f3f8ede..61c980193c10c0a8cc32cf9eec3807c2ad8298fa 100644 (file)
@@ -1761,7 +1761,9 @@ static const struct file_operations meye_fops = {
        .release        = meye_release,
        .mmap           = meye_mmap,
        .ioctl          = meye_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
+#endif
        .poll           = meye_poll,
        .llseek         = no_llseek,
 };