diff options
Diffstat (limited to 'drivers/ide/ide-proc.c')
-rw-r--r-- | drivers/ide/ide-proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index d985a9ec6bef..1dc827fa7061 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -599,7 +599,7 @@ void ide_proc_port_register_devices(ide_hwif_t *hwif) | |||
599 | char name[64]; | 599 | char name[64]; |
600 | 600 | ||
601 | for (d = 0; d < MAX_DRIVES; d++) { | 601 | for (d = 0; d < MAX_DRIVES; d++) { |
602 | ide_drive_t *drive = &hwif->drives[d]; | 602 | ide_drive_t *drive = hwif->devices[d]; |
603 | 603 | ||
604 | if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0 || drive->proc) | 604 | if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0 || drive->proc) |
605 | continue; | 605 | continue; |