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