summaryrefslogtreecommitdiff
path: root/common/cmd_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_console.c')
-rw-r--r--common/cmd_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_console.c b/common/cmd_console.c
index 1bd3709..70f8a20 100644
--- a/common/cmd_console.c
+++ b/common/cmd_console.c
@@ -28,7 +28,7 @@
#include <command.h>
#include <devices.h>
-#if (CONFIG_COMMANDS & CFG_CMD_CONSOLE)
+#if (CONFIG_COMMANDS & CFG_CMD_CONSOLE) || defined(CONFIG_CMD_CONSOLE)
extern void _do_coninfo (void);
int do_coninfo (cmd_tbl_t * cmd, int flag, int argc, char *argv[])