diff options
Diffstat (limited to 'drivers/scsi/ide-scsi.c')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 8263f752809d..bb90df8bdce4 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -463,7 +463,7 @@ static inline unsigned long get_timeout(idescsi_pc_t *pc) | |||
463 | 463 | ||
464 | static int idescsi_expiry(ide_drive_t *drive) | 464 | static int idescsi_expiry(ide_drive_t *drive) |
465 | { | 465 | { |
466 | idescsi_scsi_t *scsi = drive->driver_data; | 466 | idescsi_scsi_t *scsi = drive_to_idescsi(drive); |
467 | idescsi_pc_t *pc = scsi->pc; | 467 | idescsi_pc_t *pc = scsi->pc; |
468 | 468 | ||
469 | #if IDESCSI_DEBUG_LOG | 469 | #if IDESCSI_DEBUG_LOG |