From: Tom Rini Date: Sat, 29 Sep 2012 14:36:43 +0000 (-0700) Subject: ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write) X-Git-Tag: v2013.01-rc1~253 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4ac8f8e022dad149f47a369e60e536b356f14493;p=oweals%2Fu-boot.git 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 --- diff --git a/include/ide.h b/include/ide.h index 385e9098c6..95dcbdd362 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);