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>
This commit is contained in:
Родитель
04da73803c
Коммит
ba061c1a90
|
@ -174,7 +174,7 @@ static void qrk_serial_setup_dma(struct lpss8250 *lpss, struct uart_port *port)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
chip->dev = &pdev->dev;
|
chip->dev = &pdev->dev;
|
||||||
chip->irq = pdev->irq;
|
chip->irq = pci_irq_vector(pdev, 0);
|
||||||
chip->regs = pci_ioremap_bar(pdev, 1);
|
chip->regs = pci_ioremap_bar(pdev, 1);
|
||||||
chip->pdata = &qrk_serial_dma_pdata;
|
chip->pdata = &qrk_serial_dma_pdata;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче