diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-11 07:23:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-29 01:17:42 +0300 |
commit | 35373abbce3e63754f96792cc1e5a4b329d3c737 (patch) | |
tree | e0c382ce4c1761980983fe75431573a7c07bc8aa /arch/mips | |
parent | 39b3d8929f3d2104772046977ba0781eaf032df4 (diff) | |
download | linux-35373abbce3e63754f96792cc1e5a4b329d3c737.tar.xz |
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')
-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; |