Merge branch 'testing' into working
[oweals/u-boot.git] / fs / jffs2 / mini_inflate.c
index 4f511ec1a479e8d5fa93e5ea87c559102cfd2de1..4c50fc32dc20f6c53561c394ad9605c9f32d9914 100644 (file)
@@ -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