serial: pxa: fix build with !SERIAL_PXA_CONSOLE
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Feb 2014 15:14:20 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:48:41 +0000 (15:48 -0700)
commit2ee881b74e1fa96bfe0c7d2be11f6de69bc145e9
treefcf38503d5616710eed208500f53b69f1cce76dd
parent9da433c0a0b5f71ac92dc9dca778295649675f08
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>
drivers/tty/serial/pxa.c