summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/lantiq.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-06-16 09:17:05 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 16:06:49 -0700
commit5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d (patch)
tree39f0a6fbe0382895a3491cc16d8d7a189cbf802b /drivers/tty/serial/lantiq.c
parent01261cb943182fb9e8e7be670ec879426013e938 (diff)
downloadop-kernel-dev-5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d.zip
op-kernel-dev-5fda7a0e715c32c6dd9a39ebce8429eeafb64b7d.tar.gz
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 ea030830..4675fe1 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,
OpenPOWER on IntegriCloud