diff options
Diffstat (limited to 'arch/m68k/atari/hades-pci.c')
-rw-r--r-- | arch/m68k/atari/hades-pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/atari/hades-pci.c b/arch/m68k/atari/hades-pci.c index 6ca57b6564da..bee2b1443e36 100644 --- a/arch/m68k/atari/hades-pci.c +++ b/arch/m68k/atari/hades-pci.c | |||
@@ -375,10 +375,9 @@ struct pci_bus_info * __init init_hades_pci(void) | |||
375 | * Allocate memory for bus info structure. | 375 | * Allocate memory for bus info structure. |
376 | */ | 376 | */ |
377 | 377 | ||
378 | bus = kmalloc(sizeof(struct pci_bus_info), GFP_KERNEL); | 378 | bus = kzalloc(sizeof(struct pci_bus_info), GFP_KERNEL); |
379 | if (!bus) | 379 | if (!bus) |
380 | return NULL; | 380 | return NULL; |
381 | memset(bus, 0, sizeof(struct pci_bus_info)); | ||
382 | 381 | ||
383 | /* | 382 | /* |
384 | * Claim resources. The m68k has no separate I/O space, both | 383 | * Claim resources. The m68k has no separate I/O space, both |