Skip to content

Commit 3a2776e

Browse files
joshtriplettLorenzo Pieralisi
authored andcommitted
PCI: kirin: Select REGMAP_MMIO
pcie-kirin uses regmaps, and needs to pull them in; otherwise, with CONFIG_PCIE_KIRIN=y and without CONFIG_REGMAP_MMIO pcie-kirin produces a linker failure looking for __devm_regmap_init_mmio_clk(). Fixes: d19afe7 ("PCI: kirin: Use regmap for APB registers") Link: https://lore.kernel.org/r/04636141da1d6d592174eefb56760511468d035d.1668410580.git.josh@joshtriplett.org Signed-off-by: Josh Triplett <josh@joshtriplett.org> [lpieralisi@kernel.org: commit log and removed REGMAP select] Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: stable@vger.kernel.org # 5.16+
1 parent fe15c26 commit 3a2776e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/pci/controller/dwc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ config PCIE_KIRIN
307307
tristate "HiSilicon Kirin series SoCs PCIe controllers"
308308
depends on PCI_MSI
309309
select PCIE_DW_HOST
310+
select REGMAP_MMIO
310311
help
311312
Say Y here if you want PCIe controller support
312313
on HiSilicon Kirin series SoCs.

0 commit comments

Comments
 (0)