summaryrefslogtreecommitdiff
path: root/common/cmd_portio.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_portio.c')
-rw-r--r--common/cmd_portio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_portio.c b/common/cmd_portio.c
index d2e4c4b504..6a074829e7 100644
--- a/common/cmd_portio.c
+++ b/common/cmd_portio.c
@@ -30,7 +30,7 @@
#include <common.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_PORTIO)
+#if (CONFIG_COMMANDS & CFG_CMD_PORTIO) || defined(CONFIG_CMD_PORTIO)
extern int cmd_get_data_size (char *arg, int default_size);