aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/hfc4s8s_l1.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/hfc4s8s_l1.c')
-rw-r--r--drivers/isdn/hisax/hfc4s8s_l1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/hfc4s8s_l1.c b/drivers/isdn/hisax/hfc4s8s_l1.c
index de9b1a4d6bac..a2fa4ecb8c88 100644
--- a/drivers/isdn/hisax/hfc4s8s_l1.c
+++ b/drivers/isdn/hisax/hfc4s8s_l1.c
@@ -1591,11 +1591,10 @@ hfc4s8s_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1591 hfc4s8s_param *driver_data = (hfc4s8s_param *) ent->driver_data; 1591 hfc4s8s_param *driver_data = (hfc4s8s_param *) ent->driver_data;
1592 hfc4s8s_hw *hw; 1592 hfc4s8s_hw *hw;
1593 1593
1594 if (!(hw = kmalloc(sizeof(hfc4s8s_hw), GFP_ATOMIC))) { 1594 if (!(hw = kzalloc(sizeof(hfc4s8s_hw), GFP_ATOMIC))) {
1595 printk(KERN_ERR "No kmem for HFC-4S/8S card\n"); 1595 printk(KERN_ERR "No kmem for HFC-4S/8S card\n");
1596 return (err); 1596 return (err);
1597 } 1597 }
1598 memset(hw, 0, sizeof(hfc4s8s_hw));
1599 1598
1600 hw->pdev = pdev; 1599 hw->pdev = pdev;
1601 err = pci_enable_device(pdev); 1600 err = pci_enable_device(pdev);