From: Tom Rini Date: Sat, 29 Sep 2012 14:57:04 +0000 (-0700) Subject: sata_dwc: Make sata_write() use const void, per X-Git-Tag: v2013.01-rc1~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98391ff1434519bb1c61a858e73eeda1ed41f2f7;p=u-boot sata_dwc: Make sata_write() use const void, per Signed-off-by: Tom Rini --- diff --git a/drivers/block/sata_dwc.c b/drivers/block/sata_dwc.c index 75101b5d79..cc4446ad7b 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;