diff options
Diffstat (limited to 'include/asm-ia64')
-rw-r--r-- | include/asm-ia64/ide.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/ide.h b/include/asm-ia64/ide.h index 4ea799861..1b473c252 100644 --- a/include/asm-ia64/ide.h +++ b/include/asm-ia64/ide.h @@ -84,6 +84,7 @@ ide_init_default_hwifs (void) int index; for(index = 0; index < MAX_HWIFS; index++) { + memset(&hw, 0, sizeof(hw_regs_t)); ide_init_hwif_ports(&hw, ide_default_io_base(index), 0, NULL); hw.irq = ide_default_irq(ide_default_io_base(index)); ide_register_hw(&hw, NULL); |