]> err.no Git - linux-2.6/commit
serial: sh-sci: kgdb console build fixes.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 11 Sep 2007 06:27:29 +0000 (15:27 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:53 +0000 (11:57 +0900)
commit68362e0857ecf8a9da1ac5f7abceafbcfaa969d7
treec033374a749c3e23afe16516b9fcf68c5e272d03
parentc9eaaa9763702bdeac5ac5f790dcebafbada44bb
serial: sh-sci: kgdb console build fixes.

The kgdb console code requires uart_set_options() and friends, which
are only provided by the serial core when console support is enabled.
These were sitting under CONFIG_SH_KGDB and resulted in a link error
when console support wasn't enabled, work that by rolling the console
routines under CONFIG_SH_KGDB_CONSOLE, which they should have been
all along.

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