]> git.dujemihanovic.xyz Git - u-boot.git/commit
ide: Correct function signatures for ide_read/write()
authorSimon Glass <sjg@chromium.org>
Mon, 29 Oct 2012 05:24:04 +0000 (05:24 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:43 +0000 (15:20 -0700)
commitb6458d38d6dcdb00a70d12a8a48a2c0ca7eacbf7
tree3b684fb496da4b21de7d624716536f8e06b13bb2
parentfe1f808ce79de0caa4674340958f02780b2f81f9
ide: Correct function signatures for ide_read/write()

The prototypes in the header were changed by commit 4ac8f8e0 but the
functions no longer match. Correct this.

It seems odd that block devices take an lbaint_t for the block count, but
an unsigned long for the blknr. Surely we should promote blknr to lbaint_t
also?

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
common/cmd_ide.c