]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6781eb922f245e3b7a8c7314b0516963030cc46d
treec5927e2e5fb67907599a90790b680b1f5f7ceb9c
parent219c9076286fd92026e818ab1375558e5b20649f
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