diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-04-16 22:15:46 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-05-02 11:59:48 -0500 |
commit | 76ba8c1f2312e5128ef33e00a29c72c85bb80068 (patch) | |
tree | 227f98d0324b011bc3ea7783ae8f07e588e90859 /drivers/pci | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) | |
download | blackbird-op-linux-76ba8c1f2312e5128ef33e00a29c72c85bb80068.tar.gz blackbird-op-linux-76ba8c1f2312e5128ef33e00a29c72c85bb80068.zip |
PCI: rcar: Select PCI_MSI_IRQ_DOMAIN
The R-Car PCIe driver requires the use of IRQ domains for its MSI code:
drivers/pci/host/pcie-rcar.c:635:9: error: implicit declaration of function 'irq_find_mapping' [-Werror=implicit-function-declaration]
drivers/pci/host/pcie-rcar.c:666:8: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
...
Add a Kconfig select to ensure that the feature is always enabled.
This is not consistent with what the other drivers do at the moment, but I
have another patch that changes them to do it like this one, which is more
logical.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/host/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index 7a0780d56d2d..1fca8536daab 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -72,6 +72,8 @@ config PCI_RCAR_GEN2 config PCI_RCAR_GEN2_PCIE bool "Renesas R-Car PCIe controller" depends on ARCH_RENESAS || (ARM && COMPILE_TEST) + select PCI_MSI + select PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe controller support on R-Car Gen2 SoCs. |