summaryrefslogtreecommitdiff
path: root/board/ml2/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ml2/serial.c')
-rw-r--r--board/ml2/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ml2/serial.c b/board/ml2/serial.c
index 74687f1..6593145 100644
--- a/board/ml2/serial.c
+++ b/board/ml2/serial.c
@@ -88,7 +88,7 @@ void serial_puts (const char *s)
}
}
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
void kgdb_serial_init (void)
{
}
@@ -112,4 +112,4 @@ void kgdb_interruptible (int yes)
{
return;
}
-#endif /* CFG_CMD_KGDB */
+#endif