serial: sh-sci: sci_poll_get_char() is only used by CONFIG_CONSOLE_POLL.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Dec 2008 05:53:24 +0000 (14:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:46 +0000 (18:44 +0900)
commit1f6fd5c916c8416588f5797e7837b9e81b3251a5
tree1793bda2b303c2b071c3dc68ef25aacc2e44811c
parent073da9c0de401e8683b6bc76c008a7e0850045d5
serial: sh-sci: sci_poll_get_char() is only used by CONFIG_CONSOLE_POLL.

sci_poll_put_char() happens to also be used by the serial console,
while sci_poll_get_char() is only used by CONFIG_CONSOLE_POLL. Add
another gnarly ifdef to shut up the compiler.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c