From 9b2fc6e632ea78f1468b96849432b82c66645554 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 22 Mar 2008 08:37:19 -0300 Subject: bttv: Add a radio compat_ioctl file operation From: Robert Fitzsimons Signed-off-by: Robert Fitzsimons Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/bt8xx/bttv-driver.c | 3 +++ 1 file changed, 3 insertions(+) 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, -- cgit v1.2.3