summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2016-01-11 05:23:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 23:17:42 +0100
commit35373abbce3e63754f96792cc1e5a4b329d3c737 (patch)
treee0c382ce4c1761980983fe75431573a7c07bc8aa /drivers/tty
parentserial: core: Use tty->index for port # in debug messages (diff)
downloadlinux-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 'drivers/tty')
-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 b4decf8787de..57f152394af5 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,
}
};