[PATCH v5 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN

From: Niklas Cassel
Date: Mon Aug 27 2018 - 07:36:52 EST

Since we are using irq_domain_add_linear(), add a select on IRQ_DOMAIN.
This is needed in order to be able to remove the depends on ARCH_QCOM.

drivers/soc/qcom/smsm.c: In function âsmsm_inbound_entryâ:
drivers/soc/qcom/smsm.c:411:18: error: implicit declaration of function
entry->domain = irq_domain_add_linear(node, 32, &smsm_irq_ops, entry);

Signed-off-by: Niklas Cassel <niklas.cassel@xxxxxxxxxx>
Reviewed-by: Vivek Gautam <vivek.gautam@xxxxxxxxxxxxxx>
Reviewed-by: Vinod Koul <vkoul@xxxxxxxxxx>
drivers/soc/qcom/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 6e063202ad0b..7da6e67c7ea1 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -143,6 +143,7 @@ config QCOM_SMSM
tristate "Qualcomm Shared Memory State Machine"
depends on QCOM_SMEM
+ select IRQ_DOMAIN
Say yes here to support the Qualcomm Shared Memory State Machine.
The state machine is represented by bits in shared memory.