aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_core.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-03-07 15:51:16 -0800
committerIngo Molnar <mingo@elte.hu>2008-04-17 20:05:42 +0200
commit4a1b5502d426df09b9ba1cbcc74fd09702a74cd8 (patch)
treea64e01299d2feca09f89f220f3070121c6ccb2f6 /drivers/serial/serial_core.c
parentkgdb: add kgdb internal test suite (diff)
downloadlinux-dev-4a1b5502d426df09b9ba1cbcc74fd09702a74cd8.tar.xz
linux-dev-4a1b5502d426df09b9ba1cbcc74fd09702a74cd8.zip
kgdb: Kconfig fix
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>
Diffstat (limited to 'drivers/serial/serial_core.c')
-rw-r--r--drivers/serial/serial_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index 4d7eecbead9b..c32c1ca75f63 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -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