kgdb: Kconfig fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 7 Mar 2008 23:51:16 +0000 (15:51 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 18:05:42 +0000 (20:05 +0200)
ERROR: "uart_parse_options" [drivers/serial/serial_core.ko] undefined!

Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/serial/serial_core.c

index 4d7eecbead9b08e9a9b039996dfd12f22668476e..c32c1ca75f631c09dc5a348d7218f0d9c805e481 100644 (file)
@@ -1771,7 +1771,7 @@ static int uart_read_proc(char *page, char **start, off_t off,
 }
 #endif
 
-#ifdef CONFIG_SERIAL_CORE_CONSOLE
+#if defined(CONFIG_SERIAL_CORE_CONSOLE) || defined(CONFIG_CONSOLE_POLL)
 /*
  *     uart_console_write - write a console message to a serial port
  *     @port: the port to write the message