Re: [PATCH -next] dmaengine: hisilicon: Fix build error without PCI_MSI
From: Vinod Koul
Date: Wed Apr 15 2020 - 11:49:27 EST
On 28-03-20, 19:41, YueHaibing wrote:
> If PCI_MSI is not set, building fais:
>
> drivers/dma/hisi_dma.c: In function âhisi_dma_free_irq_vectorsâ:
> drivers/dma/hisi_dma.c:138:2: error: implicit declaration of function âpci_free_irq_vectorsâ;
> did you mean âpci_alloc_irq_vectorsâ? [-Werror=implicit-function-declaration]
> pci_free_irq_vectors(data);
> ^~~~~~~~~~~~~~~~~~~~
>
> Make HISI_DMA depends on PCI_MSI to fix this.
Applied, thanks
--
~Vinod