aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci/av7110_ca.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_ca.c')
-rw-r--r--drivers/media/dvb/ttpci/av7110_ca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_ca.c b/drivers/media/dvb/ttpci/av7110_ca.c
index e1c1294bb76..c58e3fc509e 100644
--- a/drivers/media/dvb/ttpci/av7110_ca.c
+++ b/drivers/media/dvb/ttpci/av7110_ca.c
@@ -151,7 +151,7 @@ static ssize_t ci_ll_write(struct dvb_ringbuffer *cibuf, struct file *file,
151{ 151{
152 int free; 152 int free;
153 int non_blocking = file->f_flags & O_NONBLOCK; 153 int non_blocking = file->f_flags & O_NONBLOCK;
154 char *page = (char *)__get_free_page(GFP_USER); 154 u8 *page = (u8 *)__get_free_page(GFP_USER);
155 int res; 155 int res;
156 156
157 if (!page) 157 if (!page)
@@ -208,7 +208,7 @@ static ssize_t ci_ll_read(struct dvb_ringbuffer *cibuf, struct file *file,
208 return -EINVAL; 208 return -EINVAL;
209 DVB_RINGBUFFER_SKIP(cibuf, 2); 209 DVB_RINGBUFFER_SKIP(cibuf, 2);
210 210
211 return dvb_ringbuffer_read(cibuf, buf, len, 1); 211 return dvb_ringbuffer_read(cibuf, (u8 *)buf, len, 1);
212} 212}
213 213
214static int dvb_ca_open(struct inode *inode, struct file *file) 214static int dvb_ca_open(struct inode *inode, struct file *file)