summaryrefslogtreecommitdiffstats
path: root/common/cmd_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_bmp.c')
-rw-r--r--common/cmd_bmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c
index d5c5bda01c..241aa8357a 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -31,7 +31,7 @@
#include <asm/byteorder.h>
#include <malloc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP)
+#if defined(CONFIG_CMD_BMP)
static int bmp_info (ulong addr);
static int bmp_display (ulong addr, int x, int y);
@@ -188,4 +188,4 @@ static int bmp_display(ulong addr, int x, int y)
#endif
}
-#endif /* (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP) */
+#endif /* defined(CONFIG_CMD_BMP) */
OpenPOWER on IntegriCloud