* [PATCH] PCI: rcar-host: adjust dependencies for ARM builds
@ 2021-11-07 1:37 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2021-11-07 1:37 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, kernel test robot, Lad Prabhakar,
Lorenzo Pieralisi, Marek Vasut, Yoshihiro Shimoda, linux-pci,
linux-renesas-soc
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(+)
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-07 1:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 1:37 [PATCH] PCI: rcar-host: adjust dependencies for ARM builds Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).