projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974d801
)
sata_dwc: Make sata_write() use const void, per <part.h>
author
Tom Rini
<trini@ti.com>
Sat, 29 Sep 2012 14:57:04 +0000
(07:57 -0700)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/block/sata_dwc.c
b/drivers/block/sata_dwc.c
index 75101b5d798dd8c9a2a03a5f2576a652f65c54cf..cc4446ad7b6af52a74c088d135a712c717589c17 100644
(file)
--- 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;