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