summaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-09-29 07:36:43 -0700
committerTom Rini <trini@ti.com>2012-10-15 11:54:03 -0700
commit4ac8f8e022dad149f47a369e60e536b356f14493 (patch)
tree2884eeb0a910bb1598c075fca6e3cd3fe5b4bc6a /include/ide.h
parent0e7d856ea570b22f0983ac7502d66879dcd76b31 (diff)
downloadu-boot-imx-4ac8f8e022dad149f47a369e60e536b356f14493.zip
u-boot-imx-4ac8f8e022dad149f47a369e60e536b356f14493.tar.gz
u-boot-imx-4ac8f8e022dad149f47a369e60e536b356f14493.tar.bz2
ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)
block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt not ulong Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ide.h b/include/ide.h
index 385e909..95dcbdd 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);