From 98391ff1434519bb1c61a858e73eeda1ed41f2f7 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 29 Sep 2012 07:57:04 -0700 Subject: [PATCH] sata_dwc: Make sata_write() use const void, per Signed-off-by: Tom Rini --- drivers/block/sata_dwc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5