aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 48519887f94a..2db5c9c9ca10 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -2660,7 +2660,7 @@ int ata_bus_probe(struct ata_port *ap)
2660 specific sequence bass-ackwards so that PDIAG- is released by 2660 specific sequence bass-ackwards so that PDIAG- is released by
2661 the slave device */ 2661 the slave device */
2662 2662
2663 ata_link_for_each_dev(dev, &ap->link) { 2663 ata_link_for_each_dev_reverse(dev, &ap->link) {
2664 if (tries[dev->devno]) 2664 if (tries[dev->devno])
2665 dev->class = classes[dev->devno]; 2665 dev->class = classes[dev->devno];
2666 2666