mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error
@ 2026-10-06 23:18 Randy Dunlap
  2026-10-08  4:17 ` Maulik Shah
  2026-10-08  7:34 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-10-06 23:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Maulik Shah, Krzysztof Kozlowski, Thomas Gleixner,
	Radu Rendec, Bjorn Andersson, Konrad Dybcio, Abel Vesa,
	linux-arm-msm

When CONFIG_QCOM_SCM=m and CONFIG_QCOM_PDC=y, the build fails with
aarch64-linux-ld: drivers/irqchip/qcom-pdc.o: in function `qcom_pdc_probe':
qcom-pdc.c:(.text+0x1060): undefined reference to `qcom_scm_is_available'
aarch64-linux-ld: qcom-pdc.c:(.text+0x1094): undefined reference to `qcom_scm_io_writel'

[ARCH_QCOM=y, COMPILE_TEST=y]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Maulik Shah <maulik.shah@oss.qualcomm.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Radu Rendec <radu@rendec.net>
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>
Cc: Abel Vesa <abelvesa@kernel.org>
Cc: linux-arm-msm@vger.kernel.org

 drivers/irqchip/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20261005.orig/drivers/irqchip/Kconfig
+++ linux-next-20261005/drivers/irqchip/Kconfig
@@ -523,6 +523,7 @@ config GOLDFISH_PIC
 config QCOM_PDC
 	tristate "Qualcomm PDC"
 	depends on ARCH_QCOM || COMPILE_TEST
+	depends on QCOM_SCM
 	select IRQ_DOMAIN_HIERARCHY
 	default ARCH_QCOM
 	help

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-08 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 23:18 [PATCH] irqchip/qcom-pdc: fix builtin vs. module build error Randy Dunlap
2026-10-08  4:17 ` Maulik Shah
2026-10-08  7:34 ` Krzysztof Kozlowski
2026-10-08 16:08   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®