irqchip/qcom-pdc: fix builtin vs. module build error
Subsystems (2)
PATCH 1/1 irqchip/qcom-pdc: fix builtin vs. module build error
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]
---
Cc: Maulik Shah <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Radu Rendec <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Konrad Dybcio <[email protected]>
Cc: Abel Vesa <[email protected]>
Cc: [email protected]
drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/irqchip/Kconfig +1 -0
@@ -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
Quoted 6 lines · Randy Dunlap
When
CONFIG_QCOM_SCM=mandCONFIG_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]
This should have fixes tag.
with the tag added,
Thanks,
Maulik
Quoted 7 lines · Randy Dunlap
When
CONFIG_QCOM_SCM=mandCONFIG_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]
Posted 3 weeks ago by Arnd already:
https://lore.kernel.org/all/[email protected]/
Got also review and that patch should be picked up.
Best regards,
Krzysztof
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Randy Dunlap
When
CONFIG_QCOM_SCM=mandCONFIG_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'
Quoted 8 lines
Quoted 2 lines
[ARCH_QCOM=y, COMPILE_TEST=y]
Posted 3 weeks ago by Arnd already:
https://lore.kernel.org/all/[email protected]/Got also review and that patch should be picked up.
I agree. I guess that there has been a bit of travel time in the last 3 weeks. :)
Signature · 1 line
~Randy