PCI: al: Select CONFIG_PCI_ECAM
authorArnd Bergmann <arnd@arndb.de>
Mon, 8 Mar 2021 15:24:46 +0000 (16:24 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 11 Mar 2021 21:07:41 +0000 (15:07 -0600)
commit59521c3c4b902b3749103cc7b8e64579317173e9
treec5927e2e5fb67907599a90790b680b1f5f7ceb9c
parenta38fd8748464831584a19438cbb3082b5a2dab15
PCI: al: Select CONFIG_PCI_ECAM

Compile-testing this driver without ECAM support results in a link failure:

  ld.lld: error: undefined symbol: pci_ecam_map_bus
  >>> referenced by pcie-al.c
  >>>               pci/controller/dwc/pcie-al.o:(al_pcie_map_bus) in archive drivers/built-in.a

Select CONFIG_ECAM like the other drivers do.

Link: https://lore.kernel.org/r/20210308152501.2135937-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
drivers/pci/controller/dwc/Kconfig