]> git.sur5r.net Git - u-boot/commitdiff
sata_dwc: Make sata_write() use const void, per <part.h>
authorTom Rini <trini@ti.com>
Sat, 29 Sep 2012 14:57:04 +0000 (07:57 -0700)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:02 +0000 (11:54 -0700)
Signed-off-by: Tom Rini <trini@ti.com>
drivers/block/sata_dwc.c

index 75101b5d798dd8c9a2a03a5f2576a652f65c54cf..cc4446ad7b6af52a74c088d135a712c717589c17 100644 (file)
@@ -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;