]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/ov511.c
V4L/DVB (7547): em28xx: Fix a broken lock
[linux-2.6-omap-h63xx.git] / drivers / media / video / ov511.c
index 6590058e8ff00ee8ce4acf1028538e2e3e79572b..48ee2d892396b9c6011785280cf1421c1799efb4 100644 (file)
@@ -4659,7 +4659,9 @@ static const struct file_operations ov511_fops = {
        .read =         ov51x_v4l1_read,
        .mmap =         ov51x_v4l1_mmap,
        .ioctl =        ov51x_v4l1_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl = v4l_compat_ioctl32,
+#endif
        .llseek =       no_llseek,
 };