PCI: iproc: Add PCI_DOMAIN dependency to PCI Kconfig
authorJon Mason <jonmason@broadcom.com>
Wed, 1 Mar 2017 15:53:13 +0000 (10:53 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Mar 2017 20:15:09 +0000 (15:15 -0500)
commite584b06c4730f1b6d9ccb47fc8b7d79411eb9012
tree1ffa070d31f25ef199fc8e0b2bc8912c1b1ee786
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
PCI: iproc: Add PCI_DOMAIN dependency to PCI Kconfig

2+ PCI devices fail to be discovered due to each bus having the same PCI
domain.  This is because the domain defined in the device tree file is not
being added due to PCI_DOMAIN not being enabled.  So, every PCI bus has a
domain of zero.  When PCI_DOMAIN is selected by the Kconfig, it picks up
the domain defined in the device tree file and everything works as
expected.

Since both PCIE_IPROC_PLATFORM and PCIE_IPROC_BCMA need PCI_DOMAIN, move
it to PCIE_IPROC so it will be automatically selected for both.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/Kconfig