summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_ks8695.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 /drivers/tty/serial/serial_ks8695.c
parent39b3d8929f3d2104772046977ba0781eaf032df4 (diff)
downloadop-kernel-dev-35373abbce3e63754f96792cc1e5a4b329d3c737.zip
op-kernel-dev-35373abbce3e63754f96792cc1e5a4b329d3c737.tar.gz
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 'drivers/tty/serial/serial_ks8695.c')
-rw-r--r--drivers/tty/serial/serial_ks8695.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c
index b4decf8..57f1523 100644
--- a/drivers/tty/serial/serial_ks8695.c
+++ b/drivers/tty/serial/serial_ks8695.c
@@ -554,7 +554,7 @@ static struct uart_port ks8695uart_ports[SERIAL_KS8695_NR] = {
.uartclk = KS8695_CLOCK_RATE * 16,
.fifosize = 16,
.ops = &ks8695uart_pops,
- .flags = ASYNC_BOOT_AUTOCONF,
+ .flags = UPF_BOOT_AUTOCONF,
.line = 0,
}
};
OpenPOWER on IntegriCloud