aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/ttpci/av7110.c2
-rw-r--r--drivers/media/dvb/ttpci/av7110_ir.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c
index aecfdeb8ec43..8b8144f77a73 100644
--- a/drivers/media/dvb/ttpci/av7110.c
+++ b/drivers/media/dvb/ttpci/av7110.c
@@ -1542,7 +1542,7 @@ static int get_firmware(struct av7110* av7110)
1542 } 1542 }
1543 1543
1544 /* check if the firmware is available */ 1544 /* check if the firmware is available */
1545 av7110->bin_fw = (unsigned char *) vmalloc(fw->size); 1545 av7110->bin_fw = vmalloc(fw->size);
1546 if (NULL == av7110->bin_fw) { 1546 if (NULL == av7110->bin_fw) {
1547 dprintk(1, "out of memory\n"); 1547 dprintk(1, "out of memory\n");
1548 release_firmware(fw); 1548 release_firmware(fw);
diff --git a/drivers/media/dvb/ttpci/av7110_ir.c b/drivers/media/dvb/ttpci/av7110_ir.c
index e8f553719bc5..5d19c402dad1 100644
--- a/drivers/media/dvb/ttpci/av7110_ir.c
+++ b/drivers/media/dvb/ttpci/av7110_ir.c
@@ -279,7 +279,7 @@ static int av7110_ir_write_proc(struct file *file, const char __user *buffer,
279 if (count < size) 279 if (count < size)
280 return -EINVAL; 280 return -EINVAL;
281 281
282 page = (char *) vmalloc(size); 282 page = vmalloc(size);
283 if (!page) 283 if (!page)
284 return -ENOMEM; 284 return -ENOMEM;
285 285