diff options
Diffstat (limited to 'drivers/ata/sata_sil.c')
-rw-r--r-- | drivers/ata/sata_sil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c index 031d7b7dee34..177370921774 100644 --- a/drivers/ata/sata_sil.c +++ b/drivers/ata/sata_sil.c | |||
@@ -278,7 +278,7 @@ static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed) | |||
278 | if (rc) | 278 | if (rc) |
279 | return rc; | 279 | return rc; |
280 | 280 | ||
281 | ata_link_for_each_dev(dev, link) { | 281 | ata_for_each_dev(dev, link, ALL) { |
282 | if (!ata_dev_enabled(dev)) | 282 | if (!ata_dev_enabled(dev)) |
283 | dev_mode[dev->devno] = 0; /* PIO0/1/2 */ | 283 | dev_mode[dev->devno] = 0; /* PIO0/1/2 */ |
284 | else if (dev->flags & ATA_DFLAG_PIO) | 284 | else if (dev->flags & ATA_DFLAG_PIO) |