diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-10-21 19:19:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-27 17:27:24 +0300 |
commit | ba061c1a9066a40a1ee6800b828c83bca3cbf631 (patch) | |
tree | 3257938fc5635d325fff6a9ddf2d74d5aac4b7f6 /drivers/tty/serial/8250/8250_lpss.c | |
parent | 04da73803c05dc1150ccc31cbf93e8cd56679c09 (diff) | |
download | linux-ba061c1a9066a40a1ee6800b828c83bca3cbf631.tar.xz |
serial: 8250_lpss: get IRQ via pci_irq_vector()
Instead of a direct assignment use pci_irq_vector() call as it's done for the
other case.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_lpss.c')
-rw-r--r-- | drivers/tty/serial/8250/8250_lpss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_lpss.c b/drivers/tty/serial/8250/8250_lpss.c index ac2a34ecfd66..fe7a36fbeef9 100644 --- a/drivers/tty/serial/8250/8250_lpss.c +++ b/drivers/tty/serial/8250/8250_lpss.c @@ -174,7 +174,7 @@ static void qrk_serial_setup_dma(struct lpss8250 *lpss, struct uart_port *port) int ret; chip->dev = &pdev->dev; - chip->irq = pdev->irq; + chip->irq = pci_irq_vector(pdev, 0); chip->regs = pci_ioremap_bar(pdev, 1); chip->pdata = &qrk_serial_dma_pdata; |