]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/stv680.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6-omap-h63xx.git] / drivers / media / video / stv680.c
index 1542797c048f84e0fb926fd9f04ee90ed1e46cad..78730294454e988716c7f9ba2f6f9b8cb1b45172 100644 (file)
@@ -1394,7 +1394,9 @@ static const struct file_operations stv680_fops = {
        .read =         stv680_read,
        .mmap =         stv680_mmap,
        .ioctl =        stv680_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl = v4l_compat_ioctl32,
+#endif
        .llseek =       no_llseek,
 };
 static struct video_device stv680_template = {