Message ID | 20211107013703.19995-1-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Under Review |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | PCI: rcar-host: adjust dependencies for ARM builds | expand |
--- linux-next-20211106.orig/drivers/pci/controller/Kconfig +++ linux-next-20211106/drivers/pci/controller/Kconfig @@ -66,6 +66,7 @@ config PCI_RCAR_GEN2 config PCIE_RCAR_HOST bool "Renesas R-Car PCIe host controller" depends on ARCH_RENESAS || COMPILE_TEST + depends on !ARM || (ARM && COMMON_CLK) depends on PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe controller support on R-Car SoCs in host
On ARCH=arm COMPILE_TEST builds, pcie-rcar-host.c uses __clk_is_enable(), so for ARM builds, it should also depend on COMMON_CLK. Fixes this build error: arm-linux-gnueabi-ld: drivers/pci/controller/pcie-rcar-host.o: in function `rcar_pcie_aarch32_abort_handler': pcie-rcar-host.c:(.text+0xdfc): undefined reference to `__clk_is_enabled' Fixes: a18f4b6ea50b ("PCI: rcar: Rename pcie-rcar.c to pcie-rcar-host.c") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/202111070525.sBSwmOYY-lkp@intel.com Cc: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: linux-pci@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org --- Fixes: tag might need some help... drivers/pci/controller/Kconfig | 1 + 1 file changed, 1 insertion(+)