Commit:     149b36eae2ab6aa6056664f4bc461f3d3affc9c1
Parent:     3657f6c018907870d4264d466def384b58608484
Author:     Alan Cox <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 18 01:24:16 2007 -0700
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Oct 25 12:18:40 2007 -0700

    serial: stop passing NULL to functions that expect data
    Earlier patches have removed the checking for old v new differences from the
    USB drivers so we can now pass in a valid blank old termios so that we don't
    to fill the drivers with magic hacks for console support
    Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/serial/serial_core.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index 1031890..3bb5d24 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -1875,6 +1875,7 @@ uart_set_options(struct uart_port *port, struct console 
                 int baud, int parity, int bits, int flow)
        struct ktermios termios;
+       static struct ktermios dummy;
        int i;
@@ -1920,7 +1921,7 @@ uart_set_options(struct uart_port *port, struct console 
        port->mctrl |= TIOCM_DTR;
-       port->ops->set_termios(port, &termios, NULL);
+       port->ops->set_termios(port, &termios, &dummy);
        co->cflag = termios.c_cflag;
        return 0;
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