diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:36:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:36:32 -0500 |
commit | 593195f9b2309693f27b402f34573f7920b82c3e (patch) | |
tree | 54d55557665e72e90ef35a1e0f008d381c17ed98 /drivers/media/dvb/pluto2/pluto2.c | |
parent | 983d5dbdb2b38d024935f560a91cddcf704875f3 (diff) | |
parent | f9cfc08d640e1586e76eee63cc2b0a9360bc7c7e (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
Diffstat (limited to 'drivers/media/dvb/pluto2/pluto2.c')
-rw-r--r-- | drivers/media/dvb/pluto2/pluto2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/pluto2/pluto2.c b/drivers/media/dvb/pluto2/pluto2.c index bbebd1c4caca..1c5316e209ef 100644 --- a/drivers/media/dvb/pluto2/pluto2.c +++ b/drivers/media/dvb/pluto2/pluto2.c | |||
@@ -584,11 +584,10 @@ static int __devinit pluto2_probe(struct pci_dev *pdev, | |||
584 | struct dmx_demux *dmx; | 584 | struct dmx_demux *dmx; |
585 | int ret = -ENOMEM; | 585 | int ret = -ENOMEM; |
586 | 586 | ||
587 | pluto = kmalloc(sizeof(struct pluto), GFP_KERNEL); | 587 | pluto = kzalloc(sizeof(struct pluto), GFP_KERNEL); |
588 | if (!pluto) | 588 | if (!pluto) |
589 | goto out; | 589 | goto out; |
590 | 590 | ||
591 | memset(pluto, 0, sizeof(struct pluto)); | ||
592 | pluto->pdev = pdev; | 591 | pluto->pdev = pdev; |
593 | 592 | ||
594 | ret = pci_enable_device(pdev); | 593 | ret = pci_enable_device(pdev); |