diff options
Diffstat (limited to 'drivers/ide/ide-acpi.c')
-rw-r--r-- | drivers/ide/ide-acpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index e07b189f3ec8..0f6fb6b72dd9 100644 --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c | |||
@@ -710,6 +710,8 @@ void ide_acpi_port_init_devices(ide_hwif_t *hwif) | |||
710 | for (i = 0; i < MAX_DRIVES; i++) { | 710 | for (i = 0; i < MAX_DRIVES; i++) { |
711 | drive = &hwif->drives[i]; | 711 | drive = &hwif->drives[i]; |
712 | 712 | ||
713 | memset(drive->acpidata, 0, sizeof(*drive->acpidata)); | ||
714 | |||
713 | if (!drive->present) | 715 | if (!drive->present) |
714 | continue; | 716 | continue; |
715 | 717 | ||