summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/lantiq.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-06-16 15:17:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-11 01:06:49 +0200
commit5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d (patch)
tree39f0a6fbe0382895a3491cc16d8d7a189cbf802b /drivers/tty/serial/lantiq.c
parenttty: ipwireless: Remove tty->closing abort from ipw_open() (diff)
downloadlinux-5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d.tar.xz
linux-5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d.zip
serial: Use UPF_* constants with struct uart_port flags
Fix ASYNC_* constant usage that should be the corresponding UPF_* constant. CC: Grant Likely <grant.likely@linaro.org> CC: Rob Herring <robh+dt@kernel.org> CC: devicetree@vger.kernel.org Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/lantiq.c')
-rw-r--r--drivers/tty/serial/lantiq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c
index ea030830cfa2..4675fe198d31 100644
--- a/drivers/tty/serial/lantiq.c
+++ b/drivers/tty/serial/lantiq.c
@@ -703,7 +703,7 @@ lqasc_probe(struct platform_device *pdev)
port = &ltq_port->port;
port->iotype = SERIAL_IO_MEM;
- port->flags = ASYNC_BOOT_AUTOCONF | UPF_IOREMAP;
+ port->flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP;
port->ops = &lqasc_pops;
port->fifosize = 16;
port->type = PORT_LTQ_ASC,