aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vino.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 22:36:32 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 22:36:32 -0500
commit593195f9b2309693f27b402f34573f7920b82c3e (patch)
tree54d55557665e72e90ef35a1e0f008d381c17ed98 /drivers/media/video/vino.c
parent983d5dbdb2b38d024935f560a91cddcf704875f3 (diff)
parentf9cfc08d640e1586e76eee63cc2b0a9360bc7c7e (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
Diffstat (limited to 'drivers/media/video/vino.c')
-rw-r--r--drivers/media/video/vino.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c
index 71b28e9e0850..c8fd8238904d 100644
--- a/drivers/media/video/vino.c
+++ b/drivers/media/video/vino.c
@@ -4499,13 +4499,11 @@ static int vino_init(void)
4499 dma_addr_t dma_dummy_address; 4499 dma_addr_t dma_dummy_address;
4500 int i; 4500 int i;
4501 4501
4502 vino_drvdata = (struct vino_settings *) 4502 vino_drvdata = kzalloc(sizeof(struct vino_settings), GFP_KERNEL);
4503 kmalloc(sizeof(struct vino_settings), GFP_KERNEL);
4504 if (!vino_drvdata) { 4503 if (!vino_drvdata) {
4505 vino_module_cleanup(vino_init_stage); 4504 vino_module_cleanup(vino_init_stage);
4506 return -ENOMEM; 4505 return -ENOMEM;
4507 } 4506 }
4508 memset(vino_drvdata, 0, sizeof(struct vino_settings));
4509 vino_init_stage++; 4507 vino_init_stage++;
4510 4508
4511 /* create a dummy dma descriptor */ 4509 /* create a dummy dma descriptor */