aboutsummaryrefslogtreecommitdiff
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
parent974d8014016a97ce7c8690aa0e9e77e161ce746d (diff)
downloadu-boot-linaro-stable-98391ff1434519bb1c61a858e73eeda1ed41f2f7.tar.gz
sata_dwc: Make sata_write() use const void, per <part.h>
Signed-off-by: Tom Rini <trini@ti.com>
-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 75101b5d7..cc4446ad7 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;