[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080322000557.GA21314@localhost>
Date: Sat, 22 Mar 2008 00:05:57 +0000
From: Robert Fitzsimons <robfitz@...k.net>
To: Bongani Hlope <bonganilinux@...b.co.za>
Cc: Mauro Carvalho Chehab <mchehab@...radead.org>,
Robert Fitzsimons <robfitz@...k.net>,
video4linux-list@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH] bttv: Add a radio compat_ioctl file operation.
Signed-off-by: Robert Fitzsimons <robfitz@...k.net>
---
drivers/media/video/bt8xx/bttv-driver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Hi Bongani
I only noticed that you might be using a 32 bit userspace, so the radio
compat_ioctl needs to be implmented.
Robert
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index 5404fcc..1bdb726 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -3601,6 +3601,7 @@ static const struct file_operations radio_fops =
.read = radio_read,
.release = radio_release,
.ioctl = video_ioctl2,
+ .compat_ioctl = v4l_compat_ioctl32,
.llseek = no_llseek,
.poll = radio_poll,
};
--
1.5.4.3.484.g60e3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists