[U-Boot] [PATCH v1 8/9] ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)
Tom Rini
trini at ti.com
Sat Sep 29 22:51:55 CEST 2012
block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
not ulong
Signed-off-by: Tom Rini <trini at ti.com>
---
include/ide.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/ide.h b/include/ide.h
index 8ecc9dd..1dfd5a8 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -51,8 +51,8 @@ typedef ulong lbaint_t;
*/
void ide_init(void);
-ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, void *buffer);
-ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, const void *buffer);
+ulong ide_read(int device, ulong blknr, lbaint_t blkcnt, void *buffer);
+ulong ide_write(int device, ulong blknr, lbaint_t blkcnt, const void *buffer);
#if defined(CONFIG_OF_IDE_FIXUP)
int ide_device_present(int dev);
--
1.7.9.5
More information about the U-Boot
mailing list