[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <164917320203.389.10470324625310778188.tip-bot2@tip-bot2>
Date: Tue, 05 Apr 2022 15:40:02 -0000
From: "irqchip-bot for YueHaibing" <tip-bot2@...utronix.de>
To: linux-kernel@...r.kernel.org
Cc: YueHaibing <yuehaibing@...wei.com>,
Shawn Guo <shawn.guo@...aro.org>,
Marc Zyngier <maz@...nel.org>, tglx@...utronix.de
Subject: [irqchip: irq/irqchip-fixes] irq/qcom-mpm: Fix build error without MAILBOX
The following commit has been merged into the irq/irqchip-fixes branch of irqchip:
Commit-ID: fa4dcc880390fbedf4118e9f88a6b13363e0a7a1
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/fa4dcc880390fbedf4118e9f88a6b13363e0a7a1
Author: YueHaibing <yuehaibing@...wei.com>
AuthorDate: Thu, 17 Mar 2022 21:19:56 +08:00
Committer: Marc Zyngier <maz@...nel.org>
CommitterDate: Tue, 05 Apr 2022 16:33:13 +01:00
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: a6199bb514d8 ("irqchip: Add Qualcomm MPM controller driver")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Shawn Guo <shawn.guo@...aro.org>
Signed-off-by: Marc Zyngier <maz@...nel.org>
Link: https://lore.kernel.org/r/20220317131956.30004-1-yuehaibing@huawei.com
---
drivers/irqchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 680d2fc..15edb9a 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -433,6 +433,7 @@ config QCOM_PDC
config QCOM_MPM
tristate "QCOM MPM"
depends on ARCH_QCOM
+ depends on MAILBOX
select IRQ_DOMAIN_HIERARCHY
help
MSM Power Manager driver to manage and configure wakeup
Powered by blists - more mailing lists