diff options
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r-- | drivers/ata/libata-sff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index 2100cd61ed69..dd528dbd9ccf 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -500,7 +500,7 @@ void ata_bmdma_error_handler(struct ata_port *ap) | |||
500 | ata_reset_fn_t hardreset; | 500 | ata_reset_fn_t hardreset; |
501 | 501 | ||
502 | hardreset = NULL; | 502 | hardreset = NULL; |
503 | if (sata_scr_valid(ap)) | 503 | if (sata_scr_valid(&ap->link)) |
504 | hardreset = sata_std_hardreset; | 504 | hardreset = sata_std_hardreset; |
505 | 505 | ||
506 | ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, hardreset, | 506 | ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, hardreset, |