summaryrefslogtreecommitdiffstats
path: root/drivers
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
parent11750a40abddff1e0c6e0924902f914292d12277 (diff)
downloadop-kernel-dev-591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41.zip
op-kernel-dev-591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41.tar.gz
libata: build fix after dmesg probe output changes
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-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 479f95a5..25d8d3f 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)
dev->n_sectors = ata_id_n_sectors(id);
/* SCSI only uses 4-char revisions, dump full 8 chars from ATA */
- ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV_OFS,
+ ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV,
sizeof(fwrevbuf));
- ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD_OFS,
+ ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD,
sizeof(modelbuf));
if (dev->id[59] & 0x100)
OpenPOWER on IntegriCloud