From patchwork Mon Aug 27 11:36:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10577029 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 0E7345A4 for ; Mon, 27 Aug 2018 11:36:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF88B296C7 for ; Mon, 27 Aug 2018 11:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3C9129821; Mon, 27 Aug 2018 11:36:48 +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 88198296C7 for ; Mon, 27 Aug 2018 11:36:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbeH0PXF (ORCPT ); Mon, 27 Aug 2018 11:23:05 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:35690 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeH0PXF (ORCPT ); Mon, 27 Aug 2018 11:23:05 -0400 Received: by mail-lf1-f65.google.com with SMTP id q13-v6so11677455lfc.2 for ; Mon, 27 Aug 2018 04:36:46 -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=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=F10bkLx4vRVWo+LK+XQazzLWsguLXbosnjp990AklBvgmtBAStFQGiaFIjsVmAy60F 4MJboP3MpTgszwQrw3NazpYQeg0XgNaKwRlAXzZC2a0ARp501WVNfOZOtmvzDjM+LVgi K/kqT6AxT2LT0uiQQYcEhGA5oAqwLcrTGTHwk= 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=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=Vhqw7efZynvRQ3Vvhht0zLgCxoWs6ULHbNW1RAkNgluzl/9Vu0kuqZ7bUa5yX0Lbz5 nSpIrMgs8fCECZPRTaqXP70qS7hgPV4mixL0L8w1ncXt4nQC3K2ax5jt2goQrLGkKBvZ rwLuHx7Kr75mEZMQog4jloaDGWOwdV9TR4lYN7n9CgpebfHewz6quVgEIP31lrQzxcCG b22Yh+nB2PYexvJjaJieQSmFJPX0ckAEthGr2XGVlIpYEnuHgTAl/T/P6YtoCgeK/4Ln dhUaAcySXOIXcZm0hJT3rX0g1gyK+i8qlfDI0cTnnX5U3o4C07vMFlzETJT1Md/Er00C Z5pQ== X-Gm-Message-State: APzg51A15HFUz2xp8BjtnpELQZ1M1zhsOikImAvF+SEGegjxeasOG3JB H8nFwk/bOwPOt/jWhLa5NAf53g== X-Google-Smtp-Source: ANB0VdZq1ot8ORXiuDiW0ue576gG9TYZZXA4M2fS+zppmJDTco0FupWM9oGBPCYl1rrZf3e8kXZ1dA== X-Received: by 2002:a19:9710:: with SMTP id z16-v6mr8658868lfd.17.1535369805738; Mon, 27 Aug 2018 04:36:45 -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.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:45 -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 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Mon, 27 Aug 2018 13:36:01 +0200 Message-Id: <20180827113605.9594-4-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/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 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 ba79b609aca2..6e063202ad0b 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -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.