summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-22 08:37:19 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-22 08:37:19 -0300
commit9b2fc6e632ea78f1468b96849432b82c66645554 (patch)
treeef81391f85303a80e35072ac0eb11d0aeb35cdde /linux/drivers/media/video/bt8xx/bttv-driver.c
parenta8920577550dfde4d79e6a6f4ca1ac72f4cf4bd3 (diff)
downloadmediapointer-dvb-s2-9b2fc6e632ea78f1468b96849432b82c66645554.tar.gz
mediapointer-dvb-s2-9b2fc6e632ea78f1468b96849432b82c66645554.tar.bz2
bttv: Add a radio compat_ioctl file operation
From: Robert Fitzsimons <robfitz@273k.net> Signed-off-by: Robert Fitzsimons <robfitz@273k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r--linux/drivers/media/video/bt8xx/bttv-driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/bt8xx/bttv-driver.c b/linux/drivers/media/video/bt8xx/bttv-driver.c
index 05c2e8a96..51b4a8b59 100644
--- a/linux/drivers/media/video/bt8xx/bttv-driver.c
+++ b/linux/drivers/media/video/bt8xx/bttv-driver.c
@@ -3654,6 +3654,9 @@ static const struct file_operations radio_fops =
.open = radio_open,
.read = radio_read,
.release = radio_release,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
+ .compat_ioctl = v4l_compat_ioctl32,
+#endif
.ioctl = video_ioctl2,
.llseek = no_llseek,
.poll = radio_poll,