aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci/av7110_ca.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-06-22 14:20:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:13:23 -0300
commitb0ba0e3ab6f452321771325b7b5578f9a804f69e (patch)
treef247b63852e87c4f438888f4c1f0039fe1e48483 /drivers/media/dvb/ttpci/av7110_ca.c
parent67778b322780200ac14e95c8089a0bd679a467d9 (diff)
V4L/DVB (8130): split dvb_ringbuffer dual-use functions
split the suckers into kernel-memory and user-memory versions, annotate both properly. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_ca.c')
-rw-r--r--drivers/media/dvb/ttpci/av7110_ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_ca.c b/drivers/media/dvb/ttpci/av7110_ca.c
index c58e3fc509e..261135ded48 100644
--- a/drivers/media/dvb/ttpci/av7110_ca.c
+++ b/drivers/media/dvb/ttpci/av7110_ca.c
@@ -208,7 +208,7 @@ static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file,
return -EINVAL;
DVB_RINGBUFFER_SKIP(cibuf, 2);
- return dvb_ringbuffer_read(cibuf, (u8 *)buf, len, 1);
+ return dvb_ringbuffer_read_user(cibuf, buf, len);
}
static int dvb_ca_open(struct inode *inode, struct file *file)