soc: qcom: smp2p: Add select IRQ_DOMAIN
authorNiklas Cassel <niklas.cassel@linaro.org>
Wed, 29 Aug 2018 07:57:17 +0000 (09:57 +0200)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 21:11:34 +0000 (16:11 -0500)
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/smp2p.c: In function ‘qcom_smp2p_inbound_entry’:
drivers/soc/qcom/smp2p.c:317:18: error: implicit declaration of function
  ‘irq_domain_add_linear’
  entry->domain = irq_domain_add_linear(node, 32, &smp2p_irq_ops, entry);
                  ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig

index ba79b609aca21068fc73b7b6f552137dfebdce87..6e063202ad0bcc7b8062722f4a2c8a791fb97d62 100644 (file)
@@ -134,6 +134,7 @@ config QCOM_SMP2P
        depends on MAILBOX
        depends on QCOM_SMEM
        select QCOM_SMEM_STATE
+       select IRQ_DOMAIN
        help
          Say yes here to support the Qualcomm Shared Memory Point to Point
          protocol.