diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 42c012aaa849..e48aa3f6e500 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -657,10 +657,9 @@ static int __devinit dvb_probe(struct pci_dev *pci_dev, | |||
657 | goto fail_core; | 657 | goto fail_core; |
658 | 658 | ||
659 | err = -ENOMEM; | 659 | err = -ENOMEM; |
660 | dev = kmalloc(sizeof(*dev),GFP_KERNEL); | 660 | dev = kzalloc(sizeof(*dev),GFP_KERNEL); |
661 | if (NULL == dev) | 661 | if (NULL == dev) |
662 | goto fail_core; | 662 | goto fail_core; |
663 | memset(dev,0,sizeof(*dev)); | ||
664 | dev->pci = pci_dev; | 663 | dev->pci = pci_dev; |
665 | dev->core = core; | 664 | dev->core = core; |
666 | 665 | ||