summaryrefslogtreecommitdiff
path: root/fs/jffs2/compr_zlib.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-31 04:24:56 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-31 04:24:56 +0200
commit08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878 (patch)
tree0b8d061f6fd4b7ad68b94e509e644e5456a44613 /fs/jffs2/compr_zlib.c
parentc1de7a6daf9c657484e1c6d433f01fccd49a7f48 (diff)
downloadu-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.zip
u-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.tar.gz
u-boot-imx-08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878.tar.bz2
fs: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'fs/jffs2/compr_zlib.c')
-rw-r--r--fs/jffs2/compr_zlib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 29dfe1b..d306b6d 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -37,8 +37,6 @@
#include <common.h>
#include <config.h>
-#if defined(CONFIG_CMD_JFFS2)
-
#include <jffs2/jffs2.h>
#include <jffs2/mini_inflate.h>
@@ -48,5 +46,3 @@ long zlib_decompress(unsigned char *data_in, unsigned char *cpage_out,
return (decompress_block(cpage_out, data_in + 2, (void *) ldr_memcpy));
}
-
-#endif