]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/radio/radio-si470x.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6-omap-h63xx.git] / drivers / media / radio / radio-si470x.c
index 4ad88ee616fd5c228c85b4aa80f484857b6ea657..77354ca6e8e928005cfcf631ed97d698bfd9b1ab 100644 (file)
@@ -1051,7 +1051,9 @@ static const struct file_operations si470x_fops = {
        .read           = si470x_fops_read,
        .poll           = si470x_fops_poll,
        .ioctl          = video_ioctl2,
+#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
+#endif
        .open           = si470x_fops_open,
        .release        = si470x_fops_release,
 };