Ping: [PATCH] PCI: kirin: Select REGMAP_MMIO for PCIE_KIRIN

From: Xi Ruoyao
Date: Tue Mar 07 2023 - 00:42:21 EST


Gentle ping.

On Tue, 2023-02-28 at 12:34 +0800, Xi Ruoyao wrote:
> pcie-kirin.c invokes devm_regmap_init_mmio, so it's necessary to
> select
> REGMAP_MMIO or vmlinux fails to link with "undefined reference to
> `__devm_regmap_init_mmio_clk`.
>
> Cc: stable@xxxxxxxxxxxxxxx # at least for 6.1 and 6.2
> Signed-off-by: Xi Ruoyao <xry111@xxxxxxxxxxx>
> ---
>  drivers/pci/controller/dwc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/controller/dwc/Kconfig
> b/drivers/pci/controller/dwc/Kconfig
> index 434f6a4f4041..d29551261e80 100644
> --- a/drivers/pci/controller/dwc/Kconfig
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -307,6 +307,7 @@ config PCIE_KIRIN
>         tristate "HiSilicon Kirin series SoCs PCIe controllers"
>         depends on PCI_MSI
>         select PCIE_DW_HOST
> +       select REGMAP_MMIO
>         help
>           Say Y here if you want PCIe controller support
>           on HiSilicon Kirin series SoCs.

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University