diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index b458639b4735f69cd959884aa8d0b4e4dc31d36c..0978b2feef99b65c2bdcd703ce978ec18f6ba774 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -3267,7 +3267,7 @@ static int ata_bus_softreset(struct ata_port *ap, unsigned int devmask, * the bus shows 0xFF because the odd clown forgets the D7 * pulldown resistor. */ - if (ata_check_status(ap) == 0xFF) + if (ata_chk_status(ap) == 0xFF) return -ENODEV; return ata_bus_post_reset(ap, devmask, deadline);