From patchwork Wed Jun 13 12:53:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 138451 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp684262lji; Wed, 13 Jun 2018 05:55:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJMp0QYWasmHB2tpIQjG+De9TXeT0DsOHcsv3h7YUR90SXYC4QWKRDnbupjj4hR6zlhelS1 X-Received: by 2002:a17:902:6847:: with SMTP id f7-v6mr5056442pln.173.1528894526929; Wed, 13 Jun 2018 05:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894526; cv=none; d=google.com; s=arc-20160816; b=xGALMUvGq4StQRMQRYQ8Ff/hlHonXadZJrrOsPqztSMyuC3tXQO7LTO+OwWhE26gLP tmOrpNJTDMRhV5xS7SULvLTVr8rm8550+bEBjSCaUCVIUO/Pz6w/Z6bGIek1k1APljLP 3QihXKnHNld0U7IOOK3L8WMc7ORS3dg32ewz61eumzJN0VImALI5T63RligigTeqqXCi 996/XawapaolJ4gzRbDXeH9fmg0uA0jamfdQL0iJFgNyj6jsipaqQ2bH9AQy+8cvW7AF ofUcGOaYQguF3VeCVEAiAnPU42+GQIWP9cV1dwHqZ4EDJM0QH7Rrp87WWM/C/qYYM1/w lssA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=jfXPGyZT3IcdJ3w7Jo4+S+WkV9KeQHojajPI4sffeiA=; b=espX5pk9kXkYwbjfGW2HcyVDCo8EHOUpYP7u7qPonUbdn6gQYn1M+B2n75gsIoTuOT vfyHYvC0DyzGw0u6cPYZsWb1IoJSFgLMVGlJdpt8jKyOBa9GDPR8erzQDCZLmz8/ZSFC mE8T8CtdBkisCeK0fhZcx8CQFy9GkF7hFB/qxp4ncuvyet/ybNp4/9QqLsyJFq3xoEdR VohZ7ow263X0O2XYUDsbHGLmFZTyutrDmgOdwVsWA7WC06Lc2P8M7WM/yzdcLdr4z9ht alpcS9BGt92ledtjdT1m0FEp6YEQjUfl5ltegJdrgWEjjDCfVhUK6Cuo3HlhfAQcoSGN sWkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zk5r2XLf; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10-v6si2645613pfg.328.2018.06.13.05.55.26; Wed, 13 Jun 2018 05:55:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Zk5r2XLf; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935557AbeFMMzZ (ORCPT + 13 others); Wed, 13 Jun 2018 08:55:25 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:42266 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935563AbeFMMzV (ORCPT ); Wed, 13 Jun 2018 08:55:21 -0400 Received: by mail-lf0-f67.google.com with SMTP id v135-v6so3756323lfa.9 for ; Wed, 13 Jun 2018 05:55:21 -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=se/RkAuYKxDvATwaOKEGCpzfV6DWJrCjLhv0y8/exhc=; b=Zk5r2XLfZjkVNVcbo3LkqinNbATgB+fhNujuv5YoQFtwvqThdsZ0wP7QmAylktFPT3 KVpZ5TEhh1SNGqjX7dB+Cuy82eEizdAuqUV2dgnuZEMrniWOQbxXdGKr1rrMna5wELov kHuYiakvRPI/ODRObLBWmSkecM9Bsn9VGUNes= 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=se/RkAuYKxDvATwaOKEGCpzfV6DWJrCjLhv0y8/exhc=; b=cBEpR3jaOlD/7RjLVp7qhkmh+xxu/w8fPlS6Jvz6i/8svowNbE0D9/zku5ub6sGDsF E9EoEYcQW73NSZHKx7MF/8OCOLJycma3LO+n/0tk/taZPeQAb1T9ZgJkZHXgitUEttBn uKeD1Hrb4Wl1MGAJzqIfjD5Y7kb69VZb+opywcYdDaBooRLCWUCEx/mefxxG9k7T2sOr RDPx/ubfZox4z1i10iVT8BPfvSg6SWDfZaKMXtPGk2I+CsN3VqYU60+RWECyVrV+rcwj LoHvfKRccmOYfWv4oc385zvfAiLGoPPbPC8z4ThsnPbvGkdml9sXSe6aJvEWmLed8jCO TX/w== X-Gm-Message-State: APt69E0hAo0dAPRs9UvC83xLEljedIVZmLhiEOGhY2GKaHiSCKlGIZ59 uvJxS8Uuyr1vn/KTJcWweThs1C77zyg= X-Received: by 2002:a2e:6a07:: with SMTP id f7-v6mr2986086ljc.109.1528894520611; Wed, 13 Jun 2018 05:55:20 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id p5-v6sm526516ljh.3.2018.06.13.05.55.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:20 -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 3/5] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Wed, 13 Jun 2018 14:53:58 +0200 Message-Id: <20180613125401.11734-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-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 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 --- drivers/soc/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 9dc02f390ba3..2f59d0a835fd 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -106,6 +106,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.