summaryrefslogtreecommitdiff
path: root/fs/jffs2/mini_inflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jffs2/mini_inflate.c')
-rw-r--r--fs/jffs2/mini_inflate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/mini_inflate.c b/fs/jffs2/mini_inflate.c
index 4f511ec1a47..4c50fc32dc2 100644
--- a/fs/jffs2/mini_inflate.c
+++ b/fs/jffs2/mini_inflate.c
@@ -25,7 +25,7 @@
#include <config.h>
-#if (CONFIG_COMMANDS & CFG_CMD_JFFS2)
+#if defined(CONFIG_CMD_JFFS2)
#include <jffs2/mini_inflate.h>
@@ -393,4 +393,4 @@ long decompress_block(unsigned char *dest, unsigned char *source,
return stream.error ? -stream.error : stream.decoded;
}
-#endif /* CFG_CMD_JFFS2 */
+#endif