]> err.no Git - linux-2.6/blobdiff - drivers/ata/sata_via.c
Merge branch 'linus' into x86/urgent
[linux-2.6] / drivers / ata / sata_via.c
index 9323bc2a27856df2a3bac1e4ba281dcb61b347f7..96deeb354e16f24918a6d76608d09b39adb0fd56 100644 (file)
@@ -173,7 +173,7 @@ static void svia_noop_freeze(struct ata_port *ap)
        /* Some VIA controllers choke if ATA_NIEN is manipulated in
         * certain way.  Leave it alone and just clear pending IRQ.
         */
-       ap->ops->check_status(ap);
+       ap->ops->sff_check_status(ap);
        ata_sff_irq_clear(ap);
 }
 
@@ -242,7 +242,7 @@ static int vt6420_prereset(struct ata_link *link, unsigned long deadline)
 
  skip_scr:
        /* wait for !BSY */
-       ata_sff_wait_ready(ap, deadline);
+       ata_sff_wait_ready(link, deadline);
 
        return 0;
 }