summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/romfs/romfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/romfs/romfs.c b/fs/romfs/romfs.c
index 34917be..15de3e1 100644
--- a/fs/romfs/romfs.c
+++ b/fs/romfs/romfs.c
@@ -26,7 +26,7 @@
#include <malloc.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_JFFS2)
+#if defined(CONFIG_CMD_JFFS2)
#include <asm/byteorder.h>
#include <linux/stat.h>