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