PCI: rcar: add COMMON_CLK dependency
Subsystems (2)
PATCH 1/1 PCI: rcar: add COMMON_CLK dependency
From: Arnd Bergmann <[email protected]>
The __clk_is_enabled() interface is only available when building for platforms using CONFIG_COMMON_CLK:
arm-linux-gnueabi-ld: drivers/pci/controller/pcie-rcar-host.o: in function `rcar_pcie_aarch32_abort_handler':
pcie-rcar-host.c:(.text+0x8fc): undefined reference to `__clk_is_enabled'
Add the necessary dependency to the COMPILE_TEST path.
--- drivers/pci/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/Kconfig +1 -1
@@ -65,7 +65,7 @@ config PCI_RCAR_GEN2 config PCIE_RCAR_HOST bool "Renesas R-Car PCIe host controller" - depends on ARCH_RENESAS || COMPILE_TEST + depends on ARCH_RENESAS || (COMMON_CLK && COMPILE_TEST) depends on PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe controller support on R-Car SoCs in host
Signature · 1 line
2.29.2
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The
__clk_is_enabled()interface is only available when building for platforms usingCONFIG_COMMON_CLK:arm-linux-gnueabi-ld:
drivers/pci/controller/pcie-rcar-host.o: in function `rcar_pcie_aarch32_abort_handler':
pcie-rcar-host.c:(.text+0x8fc): undefined reference to `__clk_is_enabled'
Quoted 7 lines
Add the necessary dependency to the
COMPILE_TESTpath.Fixes a115b1bd3af0 ("PCI: rcar: Add L1 link state fix into data abort hook")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/pci/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Marek already posted a fix for this:
https://lore.kernel.org/linux-pci/[email protected]
and was waiting for Stephen to have a look to determine if this could be simplified (Arnd patch already does, btw).
We should merge a fix for this asap.
Lorenzo
Quoted 16 lines
drivers/pci/controller/Kconfig +1
-1@@ -65,7 +65,7 @@ config PCI_RCAR_GEN2 config PCIE_RCAR_HOST bool "Renesas R-Car PCIe host controller" - depends on ARCH_RENESAS || COMPILE_TEST + depends on ARCH_RENESAS || (COMMON_CLK && COMPILE_TEST) depends on PCI_MSI_IRQ_DOMAIN help Say Y here if you want PCIe controller support on R-Car SoCs in hostSignature · 1 line
2.29.2