From patchwork Mon Aug 27 11:36:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577031 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 78A665A4 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66485296C7 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AA7629821; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04EFC296C7 for ; Mon, 27 Aug 2018 11:36:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbeH0PXG (ORCPT ); Mon, 27 Aug 2018 11:23:06 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40016 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeH0PXG (ORCPT ); Mon, 27 Aug 2018 11:23:06 -0400 Received: by mail-lj1-f196.google.com with SMTP id j19-v6so12056061ljc.7 for ; Mon, 27 Aug 2018 04:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=apoOolr/9TM7NmQflaNp3bpWWKcSz745g2+GqW34BVmSqNSCSIys0ljgLb+jeLP5KW lh7tK1UEniAdObHGYzt9H+FDNSMdp/syrGYrCijDLyxX9THu0g8CKK5WCsxqQWLJNqrj 44pZH3fqNQ/V5/MnWtSoa6IH/Vq3FGHLVK3wk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IW7gPFbp3Cs/xxYQ78q60NQhn2rxDLB3vVZCg9hJpfg=; b=DVEhf3DySy1fJSrmoQvulhShLVdOrlv5P9+QCbFuHA/nZ7oOTRYMYOTwEpfdLQLdrY A/xv9Md7Il+yf1GVUgX5EazXl0dMtgAYq+HHS+LeMQ7GQkVo0pya5JW659NJ4xmhGb5n uzB3xKDrh8FqONpiGYd9R8JT9muCJe7PJLYlja3s7vV3LS87nhBiXdpL2kL4pOyirDJZ PZP2c46F9GVe8WzrMwohMsa3iwSETeHMJVTBbTajmjF0aEDb/TiR4H6+ZLZh90vh4Oip 7Aeb2kj1rOvjFQuqnG4RLstYBp5hVdnwI/Mqdp7DKi0rdBt7MxTn7CzqVPhZOAf9LtU6 GfWA== X-Gm-Message-State: APzg51DpKxD0ptvfKp/TC83YRBxl0+49c//6t5w3k+VjdmSgda9o7l6X 89thyrTdTnSGB3dAenBPo3UKUQ== X-Google-Smtp-Source: ANB0Vdbd27tBhxXbnG26/bCvQXkbWTYuSQyhia9WqhUpFkSKzGFWtcfIfNQk6w7w2W6ct/vbRB0w9A== X-Received: by 2002:a2e:5b4a:: with SMTP id p71-v6mr8069666ljb.91.1535369807019; Mon, 27 Aug 2018 04:36:47 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:46 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Mon, 27 Aug 2018 13:36:02 +0200 Message-Id: <20180827113605.9594-5-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 ‘irq_domain_add_linear’ entry->domain = irq_domain_add_linear(node, 32, &smsm_irq_ops, entry); ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- 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 QCOM_SMEM_STATE + select IRQ_DOMAIN help Say yes here to support the Qualcomm Shared Memory State Machine. The state machine is represented by bits in shared memory.