diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-11 05:23:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 23:17:42 +0100 |
commit | 35373abbce3e63754f96792cc1e5a4b329d3c737 (patch) | |
tree | e0c382ce4c1761980983fe75431573a7c07bc8aa /arch/mips/pmcs-msp71xx | |
parent | serial: core: Use tty->index for port # in debug messages (diff) | |
download | linux-35373abbce3e63754f96792cc1e5a4b329d3c737.tar.xz linux-35373abbce3e63754f96792cc1e5a4b329d3c737.zip |
serial: Fix ASYNC_* => UPF_* flags misuse
The UPF_* flags are the correct values to use for struct uart_port
and struct old_serial_port/SERIAL_PORT_DFNS.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/pmcs-msp71xx')
-rw-r--r-- | arch/mips/pmcs-msp71xx/msp_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pmcs-msp71xx/msp_serial.c b/arch/mips/pmcs-msp71xx/msp_serial.c index d304be22b963..8e6e8db8dd5f 100644 --- a/arch/mips/pmcs-msp71xx/msp_serial.c +++ b/arch/mips/pmcs-msp71xx/msp_serial.c @@ -110,7 +110,7 @@ void __init msp_serial_setup(void) up.uartclk = uartclk; up.regshift = 2; up.iotype = UPIO_MEM; - up.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST; + up.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; up.type = PORT_16550A; up.line = 0; up.serial_out = msp_serial_out; |