Skip to content

Commit fa4dcc8

Browse files
YueHaibingMarc Zyngier
authored andcommitted
irq/qcom-mpm: Fix build error without MAILBOX
If MAILBOX is n, building fails: drivers/irqchip/irq-qcom-mpm.o: In function `mpm_pd_power_off': irq-qcom-mpm.c:(.text+0x174): undefined reference to `mbox_send_message' irq-qcom-mpm.c:(.text+0x174): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `mbox_send_message' Make QCOM_MPM depends on MAILBOX to fix this. Fixes: a6199bb ("irqchip: Add Qualcomm MPM controller driver") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220317131956.30004-1-yuehaibing@huawei.com
1 parent 3123109 commit fa4dcc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ config QCOM_PDC
433433
config QCOM_MPM
434434
tristate "QCOM MPM"
435435
depends on ARCH_QCOM
436+
depends on MAILBOX
436437
select IRQ_DOMAIN_HIERARCHY
437438
help
438439
MSM Power Manager driver to manage and configure wakeup

0 commit comments

Comments
 (0)