PCI: rcar: Select PCI_MSI_IRQ_DOMAIN
authorArnd Bergmann <arnd@arndb.de>
Sat, 16 Apr 2016 20:15:46 +0000 (22:15 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 2 May 2016 16:59:48 +0000 (11:59 -0500)
commit76ba8c1f2312e5128ef33e00a29c72c85bb80068
tree227f98d0324b011bc3ea7783ae8f07e588e90859
parent9735a22799b9214d17d3c231fe377fc852f042e9
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>
drivers/pci/host/Kconfig