Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp617747imm; Wed, 13 Jun 2018 05:56:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIqN/VWD2L/0+wURj3eDlxWdonQ2i7MvnGn9XV/UWPwthrLSpmhjt+JfadcxSdtMKfuYZ9d X-Received: by 2002:a17:902:8210:: with SMTP id x16-v6mr5065436pln.307.1528894578025; Wed, 13 Jun 2018 05:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894577; cv=none; d=google.com; s=arc-20160816; b=x3oKyYHTiL72BxVJbXlyJ9UFQgjFzCajkTAql1hOW33p1fpHIyQajzY0ftBtuWdUpp H+RW0rpGJkdNnjM0L1zBYJaaLQYUocrCd7jFwL6kM/rhgr8bqU1iP3DgQg0wDV5G1z9d CjR9yBUMn/EzVJNwtJx2PVDYefIqeHnAPahjs1BmA3fs0dKrgOpPbHGFxP5Aum2jO3WM W5ihve9AZCeWZAp9ln1Z1GRPEMtWhqrJHc5xf23URoKbiALmK9mgLAy+oAbBgeeQFNzi eTq7pcfkvLdp3GJSe9e5keMxlbIUSlZ572HQU1gLRXnd5I/Apmo3IJcBe5tzjh2/6G08 vqIg== 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=se/RkAuYKxDvATwaOKEGCpzfV6DWJrCjLhv0y8/exhc=; b=HIRR9+k8jFRgt8Lbo0dcH/Ww1+hsqh4DXck161tWPYDTeH7ZvQ8nACOMmt8M+F72dj PNL0U7MFCqKcLr/M5xKGCMLzIwRW5ySJF1EE11Z3A8ID4eshaiSvvi63Xq2Jr6U1det3 jzlIn5iuRecTK1tThROjjLygcrYbSHa3q/ByBAl+OCEOnHKDP96Yo1qvgbIFNkWik3Y4 XzZ3Wr8DzMNPtDcBQgBb4eTgioIIU89Bjrj251N6DYZNJjMoxKxZd47e8r4Nenb9Twwi qlty69Kmoi0qroRJt0XK3MfERQcoD68/DiKTkiUSF9RlqCcau2oaLvAtOvOHMp8/ZNdX kmCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zk5r2XLf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 q10-v6si2273257pgd.108.2018.06.13.05.56.03; Wed, 13 Jun 2018 05:56:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zk5r2XLf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935617AbeFMMz0 (ORCPT + 99 others); Wed, 13 Jun 2018 08:55:26 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:43347 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935477AbeFMMzV (ORCPT ); Wed, 13 Jun 2018 08:55:21 -0400 Received: by mail-lf0-f67.google.com with SMTP id n15-v6so3762551lfn.10 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=g60c4Hq1FmP2rcos3PpNj8V5Xv22+8/qH2W3oJI9KSR+7vvJmhNk8ljVNwQoQnvBod 4JvY5Cx2R6l4BqIFTZIzPafmIn5IHkv4Ar8P1/ePtcCwP4fd3j+Vmq2Dycy/pGhD0Gyj PUAcc+4bn96QULDgJUa4/ti/pABRqkAQ897uTn2nsm3kFJEWTMdPvG3dfALQXgpdzk16 JgtKdkQydOW6yAC1KY52nwB4yNBKhzKIlhm5MzzN4ImvQr0bTwtnwAM1WoDHlBSGujwI MDLUTIbu1BpHEUODqFs2W/fOr28ilzc233kUAnLzSVgr5/EPMagFJh+Z6zUGmUksMtwK ZHDg== X-Gm-Message-State: APt69E1i8WN5NZzmwuCOS4ihhFGRC7Dfrp6KhBW3lmj42AdLCA8lJyEN FpWmAnJvsYGqLdqdbJFrzfl8ww== 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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. -- 2.17.1