]> git.baikalelectronics.ru Git - kernel.git/commit
irq/qcom-mpm: Fix build error without MAILBOX
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 Mar 2022 13:19:56 +0000 (21:19 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 5 Apr 2022 15:33:13 +0000 (16:33 +0100)
commitd6bb4491b527cbafc47a8c35ba0e0db10bfe49cb
treecfd33a7606bc92dbc43d5702933bc6c5fbe4b7cd
parent6d94017b7b59bab528be97be158d0d602982e3a6
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: 0cf9f3fce6b4 ("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
drivers/irqchip/Kconfig