diff options
Diffstat (limited to 'drivers/pcmcia/at91_cf.c')
-rw-r--r-- | drivers/pcmcia/at91_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 52d4a38b3667..3334f22a86c0 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c | |||
@@ -230,7 +230,7 @@ static int __init at91_cf_probe(struct platform_device *pdev) | |||
230 | if (!io) | 230 | if (!io) |
231 | return -ENODEV; | 231 | return -ENODEV; |
232 | 232 | ||
233 | cf = kcalloc(1, sizeof *cf, GFP_KERNEL); | 233 | cf = kzalloc(sizeof *cf, GFP_KERNEL); |
234 | if (!cf) | 234 | if (!cf) |
235 | return -ENOMEM; | 235 | return -ENOMEM; |
236 | 236 | ||