]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: generic: Select IRQ_DOMAIN
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 May 2016 14:15:53 +0000 (16:15 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Jun 2016 23:59:17 +0000 (18:59 -0500)
commit4cbe5fd5d5ca202a29c3aa4a281b60544ec2c469
tree5a8c58699e357b74d0113ea566ecf0207b9ab93f
parent0491ad2600d2055b3241c61eb7ebbce5f94258a0
PCI: generic: Select IRQ_DOMAIN

The generic PCI host controller calls of_irq_parse_and_map_pci() in its IRQ
fixup, but that function is only available when CONFIG_IRQ_DOMAIN is set:

  drivers/pci/built-in.o: In function `pci_host_common_probe':
  drivers/pci/host/pci-host-common.c:181: undefined reference to `of_irq_parse_and_map_pci'

There is no downside in enabling the domains here, so use a Kconfig
select statement to ensure it's always available to this driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/Kconfig