diff options
Diffstat (limited to 'common/cmd_diag.c')
-rw-r--r-- | common/cmd_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_diag.c b/common/cmd_diag.c index 7293457..091e3c8 100644 --- a/common/cmd_diag.c +++ b/common/cmd_diag.c @@ -28,7 +28,7 @@ #include <command.h> #include <post.h> -#if ((CONFIG_COMMANDS & CFG_CMD_DIAG) || defined(CONFIG_CMD_DIAG)) && defined(CONFIG_POST) +#if defined(CONFIG_CMD_DIAG) && defined(CONFIG_POST) int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) { |