]> git.sur5r.net Git - u-boot/commitdiff
pxa: fix assignment from incompatible pointer type
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 17 Feb 2008 13:15:32 +0000 (14:15 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 17 Feb 2008 15:03:56 +0000 (16:03 +0100)
fix mmc_bread function prototype

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cpu/pxa/mmc.c

index c0cfe65fb012c355a568fd2a9ec7b49d019d326a..039ce0f579a5bd084fe4185c194e56484e8ebec2 100644 (file)
@@ -375,7 +375,7 @@ mmc_write(uchar * src, ulong dst, int size)
 
 ulong
 /****************************************************/
-mmc_bread(int dev_num, ulong blknr, ulong blkcnt, ulong * dst)
+mmc_bread(int dev_num, ulong blknr, lbaint_t blkcnt, void *dst)
 /****************************************************/
 {
        int mmc_block_size = MMC_BLOCK_SIZE;