aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/miropcm20-radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/radio/miropcm20-radio.c')
-rw-r--r--drivers/media/radio/miropcm20-radio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/radio/miropcm20-radio.c b/drivers/media/radio/miropcm20-radio.c
index 3ae56fef8c92..09fe6f1cdf14 100644
--- a/drivers/media/radio/miropcm20-radio.c
+++ b/drivers/media/radio/miropcm20-radio.c
@@ -221,7 +221,9 @@ static const struct file_operations pcm20_fops = {
.open = video_exclusive_open,
.release = video_exclusive_release,
.ioctl = pcm20_ioctl,
+#ifdef CONFIG_COMPAT
.compat_ioctl = v4l_compat_ioctl32,
+#endif
.llseek = no_llseek,
};

Privacy Policy