aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/sedlbauer_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/sedlbauer_cs.c')
-rw-r--r--drivers/isdn/hisax/sedlbauer_cs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/sedlbauer_cs.c b/drivers/isdn/hisax/sedlbauer_cs.c
index 46ed65334c51..45debde05fbd 100644
--- a/drivers/isdn/hisax/sedlbauer_cs.c
+++ b/drivers/isdn/hisax/sedlbauer_cs.c
@@ -155,9 +155,8 @@ static int sedlbauer_probe(struct pcmcia_device *link)
155 DEBUG(0, "sedlbauer_attach()\n"); 155 DEBUG(0, "sedlbauer_attach()\n");
156 156
157 /* Allocate space for private device-specific data */ 157 /* Allocate space for private device-specific data */
158 local = kmalloc(sizeof(local_info_t), GFP_KERNEL); 158 local = kzalloc(sizeof(local_info_t), GFP_KERNEL);
159 if (!local) return -ENOMEM; 159 if (!local) return -ENOMEM;
160 memset(local, 0, sizeof(local_info_t));
161 local->cardnr = -1; 160 local->cardnr = -1;
162 161
163 local->p_dev = link; 162 local->p_dev = link;