diff options
-rw-r--r-- | drivers/serial/bfin_5xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index b5a9b374dad5..6b8795557b38 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
@@ -237,7 +237,8 @@ static void bfin_serial_rx_chars(struct bfin_serial_port *uart) | |||
237 | 237 | ||
238 | #if defined(CONFIG_KGDB_SERIAL_CONSOLE) || \ | 238 | #if defined(CONFIG_KGDB_SERIAL_CONSOLE) || \ |
239 | defined(CONFIG_KGDB_SERIAL_CONSOLE_MODULE) | 239 | defined(CONFIG_KGDB_SERIAL_CONSOLE_MODULE) |
240 | if (kgdb_connected && kgdboc_port_line == uart->port.line) | 240 | if (kgdb_connected && kgdboc_port_line == uart->port.line |
241 | && kgdboc_break_enabled) | ||
241 | if (ch == 0x3) {/* Ctrl + C */ | 242 | if (ch == 0x3) {/* Ctrl + C */ |
242 | kgdb_breakpoint(); | 243 | kgdb_breakpoint(); |
243 | return; | 244 | return; |