summaryrefslogtreecommitdiff
path: root/common/cmd_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_display.c')
-rw-r--r--common/cmd_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_display.c b/common/cmd_display.c
index abee8444e20..d19f412819d 100644
--- a/common/cmd_display.c
+++ b/common/cmd_display.c
@@ -24,7 +24,7 @@
#include <common.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DISPLAY)
+#if defined(CONFIG_CMD_DISPLAY)
#undef DEBUG_DISP
@@ -79,4 +79,4 @@ U_BOOT_CMD(
" - without arguments: clear dot matrix display\n"
);
-#endif /* CFG_CMD_DISPLAY */
+#endif