]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ide.h: Make ide_(read|write) match block_dev_desc_t block_(read|write)
authorTom Rini <trini@ti.com>
Sat, 29 Sep 2012 14:36:43 +0000 (07:36 -0700)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:03 +0000 (11:54 -0700)
block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt
not ulong

Signed-off-by: Tom Rini <trini@ti.com>
include/ide.h

index 385e9098c6737a37ebb31a29b4bd2fe1cce6cfc3..95dcbdd362e51fdfd2b46f7ac49128e91e383953 100644 (file)
@@ -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);