aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/sata_dwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/sata_dwc.c')
-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;