summaryrefslogtreecommitdiff
path: root/drivers/block/ata_piix.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-09-29 07:52:48 -0700
committerTom Rini <trini@ti.com>2012-10-15 11:54:02 -0700
commit5048a672d93e466cd7b47f5126e6d6381702d0e2 (patch)
treebe9c09753bcbd6e6069a08a44af1e6d3b7b410e5 /drivers/block/ata_piix.h
parent879a57ac0e955e053e21b92c5aba76a0e542b1e4 (diff)
downloadu-boot-imx-5048a672d93e466cd7b47f5126e6d6381702d0e2.zip
u-boot-imx-5048a672d93e466cd7b47f5126e6d6381702d0e2.tar.gz
u-boot-imx-5048a672d93e466cd7b47f5126e6d6381702d0e2.tar.bz2
ata_piix: sata_write must take a const void argument.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/block/ata_piix.h')
-rw-r--r--drivers/block/ata_piix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ata_piix.h b/drivers/block/ata_piix.h
index c60d035..85a8843 100644
--- a/drivers/block/ata_piix.h
+++ b/drivers/block/ata_piix.h
@@ -57,7 +57,7 @@ void dev_select(struct sata_ioports *ioaddr, int dev);
u8 sata_busy_wait(struct sata_ioports *ioaddr, int bits, unsigned int max);
u8 sata_chk_status(struct sata_ioports *ioaddr);
ulong sata_read(int device, ulong blknr,lbaint_t blkcnt, void *buffer);
-ulong sata_write(int device,ulong blknr, lbaint_t blkcnt, void *buffer);
+ulong sata_write(int device,ulong blknr, lbaint_t blkcnt, const void *buffer);
#endif
/************DRIVER SPECIFIC DEFINITIONS AND DECLARATIONS**************/