From: Andrew Morton Date: Fri, 7 Mar 2008 23:51:16 +0000 (-0800) Subject: kgdb: Kconfig fix X-Git-Tag: v2.6.26-rc1~1153^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a1b5502d426df09b9ba1cbcc74fd09702a74cd8;p=linux-2.6 kgdb: Kconfig fix ERROR: "uart_parse_options" [drivers/serial/serial_core.ko] undefined! Cc: Jason Wessel Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 4d7eecbead..c32c1ca75f 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