diff options
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r-- | drivers/ata/pata_scc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c index aab068fbb7bc..63fe99a10cd1 100644 --- a/drivers/ata/pata_scc.c +++ b/drivers/ata/pata_scc.c | |||
@@ -612,7 +612,7 @@ static int scc_std_softreset (struct ata_port *ap, unsigned int *classes, | |||
612 | 612 | ||
613 | DPRINTK("ENTER\n"); | 613 | DPRINTK("ENTER\n"); |
614 | 614 | ||
615 | if (ata_port_offline(ap)) { | 615 | if (ata_link_offline(&ap->link)) { |
616 | classes[0] = ATA_DEV_NONE; | 616 | classes[0] = ATA_DEV_NONE; |
617 | goto out; | 617 | goto out; |
618 | } | 618 | } |