Commit:     68362e0857ecf8a9da1ac5f7abceafbcfaa969d7
Parent:     c9eaaa9763702bdeac5ac5f790dcebafbada44bb
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Sep 11 15:27:29 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Sep 21 11:57:53 2007 +0900

    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 <[EMAIL PROTECTED]>
 drivers/serial/sh-sci.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c
index 81318c5..73440e2 100644
--- a/drivers/serial/sh-sci.c
+++ b/drivers/serial/sh-sci.c
@@ -1309,7 +1309,7 @@ static int __init sci_console_init(void)
  * FIXME: Most of this can go away.. at the moment, we rely on
  * arch/sh/kernel/setup.c to do the command line parsing for kgdb, though
@@ -1367,9 +1367,7 @@ int __init kgdb_console_setup(struct console *co, char 
        return uart_set_options(port, co, baud, parity, bits, flow);
-#endif /* CONFIG_SH_KGDB */
 static struct console kgdb_console = {
        .name           = "ttySC",
        .device         = uart_console_device,
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to