summaryrefslogtreecommitdiffstats
path: root/arch/mips/pmcs-msp71xx/msp_serial.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-10 20:23:58 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 14:17:42 -0800
commit35373abbce3e63754f96792cc1e5a4b329d3c737 (patch)
treee0c382ce4c1761980983fe75431573a7c07bc8aa /arch/mips/pmcs-msp71xx/msp_serial.c
parent39b3d8929f3d2104772046977ba0781eaf032df4 (diff)
downloadlinux-35373abbce3e63754f96792cc1e5a4b329d3c737.tar.bz2
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/msp_serial.c')
-rw-r--r--arch/mips/pmcs-msp71xx/msp_serial.c2
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;