]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/et61x251/et61x251_core.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6-omap-h63xx.git] / drivers / media / video / et61x251 / et61x251_core.c
index 32ebb71097b53bcb5a1812e884fa4dc7d7bb2ae2..5e749c528a624e7ea6babc290ede9dc041726e88 100644 (file)
@@ -2523,7 +2523,9 @@ static const struct file_operations et61x251_fops = {
        .open =    et61x251_open,
        .release = et61x251_release,
        .ioctl =   et61x251_ioctl,
+#ifdef CONFIG_COMPAT
        .compat_ioctl = v4l_compat_ioctl32,
+#endif
        .read =    et61x251_read,
        .poll =    et61x251_poll,
        .mmap =    et61x251_mmap,