summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-09-29 07:57:04 -0700
committerTom Rini <trini@ti.com>2012-10-15 11:54:02 -0700
commit98391ff1434519bb1c61a858e73eeda1ed41f2f7 (patch)
treeda5f7081de886fd65c89583d4d552b00c0ddca98 /drivers/block
parent974d8014016a97ce7c8690aa0e9e77e161ce746d (diff)
downloadu-boot-imx-98391ff1434519bb1c61a858e73eeda1ed41f2f7.zip
u-boot-imx-98391ff1434519bb1c61a858e73eeda1ed41f2f7.tar.gz
u-boot-imx-98391ff1434519bb1c61a858e73eeda1ed41f2f7.tar.bz2
sata_dwc: Make sata_write() use const void, per <part.h>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/sata_dwc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sata_dwc.c b/drivers/block/sata_dwc.c
index 75101b5..cc4446a 100644
--- a/drivers/block/sata_dwc.c
+++ b/drivers/block/sata_dwc.c
@@ -1907,7 +1907,7 @@ err_out:
#define SATA_MAX_WRITE_BLK 0xFFFF
#endif
-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)
{
ulong start,blks, buf_addr;
unsigned short smallblks;