aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-02-06 21:08:14 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:40 -0500
commit591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41 (patch)
tree63f718582bc8f6b014d1d0563241160fab554d66 /drivers/ata
parent11750a40abddff1e0c6e0924902f914292d12277 (diff)
libata: build fix after dmesg probe output changes
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 479f95a5c0a3..25d8d3f778a1 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1597,10 +1597,10 @@ int ata_dev_configure(struct ata_device *dev)
1597 dev->n_sectors = ata_id_n_sectors(id); 1597 dev->n_sectors = ata_id_n_sectors(id);
1598 1598
1599 /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */ 1599 /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */
1600 ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV_OFS, 1600 ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV,
1601 sizeof(fwrevbuf)); 1601 sizeof(fwrevbuf));
1602 1602
1603 ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD_OFS, 1603 ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD,
1604 sizeof(modelbuf)); 1604 sizeof(modelbuf));
1605 1605
1606 if (dev->id[59] & 0x100) 1606 if (dev->id[59] & 0x100)