summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-28 22:01:04 +0200
committerWolfgang Denk <wd@denx.de>2008-04-28 22:01:04 +0200
commit707fa917cca24c0f22776f48ac4a6fa5e5189b10 (patch)
tree863e91d9652f2af3643c46f300ea293a74366e51 /fs
parentdd5748bcd669f46aeb6686c1b341323843738ccc (diff)
downloadu-boot-imx-707fa917cca24c0f22776f48ac4a6fa5e5189b10.zip
u-boot-imx-707fa917cca24c0f22776f48ac4a6fa5e5189b10.tar.gz
u-boot-imx-707fa917cca24c0f22776f48ac4a6fa5e5189b10.tar.bz2
jffs2_1pass.c: fix incompatible pointer type warning
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/jffs2/jffs2_1pass.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c
index 69f53ea..a330438 100644
--- a/fs/jffs2/jffs2_1pass.c
+++ b/fs/jffs2/jffs2_1pass.c
@@ -185,11 +185,7 @@ static int read_nand_cached(u32 off, u32 size, u_char *buf)
{
struct mtdids *id = current_part->dev->id;
u32 bytes_read = 0;
-#if defined(CFG_NAND_LEGACY)
size_t retlen;
-#else
- ulong retlen;
-#endif
int cpy_bytes;
while (bytes_read < size) {