summaryrefslogtreecommitdiff
path: root/fs/jffs2/compr_lzo.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-05 09:51:44 +0000
committerwdenk <wdenk>2005-05-05 09:51:44 +0000
commit412babe304b948e1e3a909f8d2eb091b83f700d5 (patch)
treefde6b10727916e1ec0684bd6a9fa863785ed2169 /fs/jffs2/compr_lzo.c
parent60fc6cbbb7d49895e3ee552539f5375f8f1303b5 (diff)
downloadu-boot-imx-412babe304b948e1e3a909f8d2eb091b83f700d5.zip
u-boot-imx-412babe304b948e1e3a909f8d2eb091b83f700d5.tar.gz
u-boot-imx-412babe304b948e1e3a909f8d2eb091b83f700d5.tar.bz2
It's better to handle LZO and LZARI compression mdoes for JFFS2 with
a single #define.
Diffstat (limited to 'fs/jffs2/compr_lzo.c')
-rw-r--r--fs/jffs2/compr_lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/compr_lzo.c b/fs/jffs2/compr_lzo.c
index e97c18f..b6c590a 100644
--- a/fs/jffs2/compr_lzo.c
+++ b/fs/jffs2/compr_lzo.c
@@ -67,7 +67,7 @@
#include <config.h>
-#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_LZO))
+#if ((CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_LZO_LZARI))
#include <linux/stddef.h>
#include <jffs2/jffs2.h>
@@ -402,4 +402,4 @@ int lzo_decompress(unsigned char *data_in, unsigned char *cpage_out,
return lzo1x_decompress (data_in, srclen, cpage_out, &outlen, NULL);
}
-#endif /* ((CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_LZO)) */
+#endif /* ((CONFIG_COMMANDS & CFG_CMD_JFFS2) && defined(CONFIG_JFFS2_LZO_LZARI)) */