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: 145177 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079202ljw; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYmR4f5IX17IPvHR0VgTL2CDVvNEBGEryaxU5acXNTfv4zZ/ACU63asM+djtbL3vS3lNu5W X-Received: by 2002:a17:902:2904:: with SMTP id g4-v6mr12575661plb.70.1535369808780; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369808; cv=none; d=google.com; s=arc-20160816; b=aKjLnZ5dOk4/tvdimgbIpew9vt3fd3DzyRFh5/EUSkezcRFQi0b3ufmJIDhWwG8CVO 4v0xp7AjB7AU2HM82j2nXgc9XJ88q7g+uKkgFd1TZ0LN6/jkC5yrS8Zwce9xmrj5lNH1 CaZ5cjCzhOwdNoow1W68j5E7LzgUO0Kscdax+S5IFGOhEImx40P/XSTOgpsfd7pZzb8F +8euYAaSk6I0tLeJ9T2CFY2drpGsw45X8LI3RnZCPLXb3YVG0+gNQt3lG+OFPhMz14av 9ytZ4k8Uh1j8CuyxUNLijdOOVu3IEBt5/I8acjsbkaFFkkn5wrz46ahufNWA2s5sXM+t 9olA== 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=qtQHnawV6159KrNcAB+r9rRijDPcx3eyatNOzc6jgxU=; b=S66EoMGFx98JHrakCntyzboXXi8f83CbjWhE0tfplHh+2mZplWhHkwAwl1ZfA/aWgj +1+J6K/Es7iFTNDy4mqnVzY30tCe6+b/ME1AmmsTcIRAC42gvLVrrMoz4OZ0nTMyfUmk t9HTC5E2armhqESKvP+0dOBd2LvVWRAVmyYfhsVutcS6NqboxBT1PZCauRF66z7+fwQl afArF7YOQDEr5MOrEdGCNJczQb7dXWt0vxEDeFu0OZEwn4LxtFPBDNwI9UgMiZUilAA9 g24NWgID8vJwNXH8I5bOlRK0O/hiAea4RGeWpXz3w8/RJJ8nUDllRIsWLBhpXdoD4+jJ /RSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F10bkLx4; 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=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 z12-v6si3353188pgr.386.2018.08.27.04.36.48; Mon, 27 Aug 2018 04:36:48 -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=pass header.i=@linaro.org header.s=google header.b=F10bkLx4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbeH0PXF (ORCPT + 13 others); 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-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 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(+) -- 2.17.1 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.