]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/radio/radio-terratec.c
V4L/DVB (7402): add macro validation for v4l_compat_ioctl32
[linux-2.6-omap-h63xx.git] / drivers / media / radio / radio-terratec.c
index 535ffe8c81028508ac773c05510a8f895c35678d..acc32080e9bdefef40bc84d0e2e0bbf09f758a42 100644 (file)
@@ -360,7 +360,9 @@ static const struct file_operations terratec_fops = {
        .open           = video_exclusive_open,
        .release        = video_exclusive_release,
        .ioctl          = video_ioctl2,
+#ifdef CONFIG_COMPAT
        .compat_ioctl   = v4l_compat_ioctl32,
+#endif
        .llseek         = no_llseek,
 };