diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-02-07 02:08:14 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 22:39:40 (GMT) |
commit | 591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41 (patch) | |
tree | 63f718582bc8f6b014d1d0563241160fab554d66 /drivers | |
parent | 11750a40abddff1e0c6e0924902f914292d12277 (diff) | |
download | linux-fsl-qoriq-591a6e8ee7c8ffbbeaf23fec23796c0cfa316a41.tar.xz |
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.c | 4 |
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) |