diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-02-18 10:14:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-10 18:48:41 -0400 |
commit | 2ee881b74e1fa96bfe0c7d2be11f6de69bc145e9 (patch) | |
tree | fcf38503d5616710eed208500f53b69f1cce76dd /drivers/tty | |
parent | 9da433c0a0b5f71ac92dc9dca778295649675f08 (diff) |
serial: pxa: fix build with !SERIAL_PXA_CONSOLE
When CONFIG_SERIAL_PXA_CONSOLE is disabled, the serial_pxa_get_poll_char
and serial_pxa_put_poll_char functions are not defined, and we can't
reference them.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/pxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index c638c53cd2b6..21b7d8b86493 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c | |||
@@ -778,7 +778,7 @@ static struct uart_ops serial_pxa_pops = { | |||
778 | .request_port = serial_pxa_request_port, | 778 | .request_port = serial_pxa_request_port, |
779 | .config_port = serial_pxa_config_port, | 779 | .config_port = serial_pxa_config_port, |
780 | .verify_port = serial_pxa_verify_port, | 780 | .verify_port = serial_pxa_verify_port, |
781 | #ifdef CONFIG_CONSOLE_POLL | 781 | #if defined(CONFIG_CONSOLE_POLL) && defined(CONFIG_SERIAL_PXA_CONSOLE) |
782 | .poll_get_char = serial_pxa_get_poll_char, | 782 | .poll_get_char = serial_pxa_get_poll_char, |
783 | .poll_put_char = serial_pxa_put_poll_char, | 783 | .poll_put_char = serial_pxa_put_poll_char, |
784 | #endif | 784 | #endif |