summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/imx.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-14 07:32:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-14 07:32:24 +0200
commit7ca932e441325f4fb1444c568446b4338ff28ae7 (patch)
treeb8928d59da95a4f0c19b30735e58d7fe2730661b /drivers/tty/serial/imx.c
parentd1a1af2cdf19770d69947769f5d5a16c39de93e6 (diff)
parent4f5cafb5cb8471e54afdc9054d973535614f7675 (diff)
downloadblackbird-op-linux-7ca932e441325f4fb1444c568446b4338ff28ae7.tar.gz
blackbird-op-linux-7ca932e441325f4fb1444c568446b4338ff28ae7.zip
Merge 5.4-rc3 into tty-next
We need the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/imx.c')
-rw-r--r--drivers/tty/serial/imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 504d81c8957a..357d3ff34d51 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -2221,8 +2221,8 @@ static int imx_uart_probe(struct platform_device *pdev)
return PTR_ERR(base);
rxirq = platform_get_irq(pdev, 0);
- txirq = platform_get_irq(pdev, 1);
- rtsirq = platform_get_irq(pdev, 2);
+ txirq = platform_get_irq_optional(pdev, 1);
+ rtsirq = platform_get_irq_optional(pdev, 2);
sport->port.dev = &pdev->dev;
sport->port.mapbase = res->start;
OpenPOWER on IntegriCloud