From patchwork Wed Aug 29 07:57:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145397 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp379769ljw; Wed, 29 Aug 2018 00:57:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYRoT41xBorho6MQkJnKzKLuqa5JjHd5yaB5MbYIuAegyKzO92J6T3Bcos5JpjnVzxpxP5f X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr4799388plp.14.1535529468763; Wed, 29 Aug 2018 00:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529468; cv=none; d=google.com; s=arc-20160816; b=z+BmGXRPtzH7VXLsJRDwD7v2JV/WQfwiENFP2kSpj0IkpuLuEsOLDPnQdMipoeR0RG UGHeZhpiLV5HuTcpreq2DrcpDvx5XOSu945UljmXayL9MbECS27BkpZHa0OK+0dApbuj KXEAzI1CxujiFHa/cfhK0eB7NYpDKoHbnDZ9sCQlyOLx7+LLlmL6h3WfM1I+HntIyxRC 4jIEvri/sIZ/hf9PN+kFkTBMVailU0g3UORJq9Ha0TtRafUaLDnbtVf5eTDMkqsp/0gp Nm5T8qC+TEb10BDZCgk1GH6Kia2u9jRkznx/f0ygjbjm8u8bW4yJ6gIR+ylZqXtjuuli XdqQ== 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=HTVDKeNgKHstA35TyioYU1TKRCdqydINw18jvUrDJ+DrjL679Y5SpSoX16s9HCvUTd 1AktRXCBDww09NWascLtQYhpo/YtVdkfXJ1xaq95G8X17nhEyVvivqugi5X+UkVZPMRP Rn2MGOpHwJPX/g9XFf3hV20L6EPzmtohn9bt4MkIdd/Hm8nb13OJbYGk7AGDLqqAdzsP 9BCxM/IQS/NQ+oryhmt3nQ8WKZTRaR6ure2XKNv7eHzjI6WGYwx4nhH5a8sIspt3IVSY lEVF6iZ/rDTkVS3L7ZHPY2hTyPluLOvoO/X/OFDAz+8F5ztgovLrCqJhEdZZWIgkuAlo 6L1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hD7jWFvK; 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 u20-v6si3285439pgj.443.2018.08.29.00.57.48; Wed, 29 Aug 2018 00:57: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=hD7jWFvK; 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 S1727590AbeH2LxY (ORCPT + 13 others); Wed, 29 Aug 2018 07:53:24 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:46115 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbeH2LxY (ORCPT ); Wed, 29 Aug 2018 07:53:24 -0400 Received: by mail-lf1-f65.google.com with SMTP id e23-v6so3499117lfc.13 for ; Wed, 29 Aug 2018 00:57: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=hD7jWFvKOXG2bg6p3bUZsSm22Yihut5Ra1DrW+Y7vyZhxq4N3kKO96yEZdxK6TSlEY srg4ndvygCf5Aqt6V8oKmBaDZeBC/3rfcVeAL/haKDrLwgw8jUvbnCE+3171rdva2bAU uE4ZgU0p/s/1cGu6OwPOCSXnbh/dh5ZYZKccQ= 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=lXs9kuOeZn0Jy7931dv9ncYfeZEebY5jIucPHkNsxaswstubUiS1Led+ICYr/Q5p2c 9i0SofC7FU8z3x+uvLx0of8QSH4+tzIGx+z0335hIb9PgaLhSD4ACBCUUcPe08yvmVwa +15iqLjcgyRca8g17fjhFg/el7IJPaj0DIu9c09NmMTSzHJVWsrftowNnJ5UsJaq85u8 LYbL+zXpGgEKdGDgBGuL0fv8laG+9p/4rUVPTa73Zyb/jJGmX4iFHVKc2fJBkTzyLvaM 7MKVpsvCq7m6D8Kdwj4R/E24XIUPPrkcytqzGowWgqII1Xnr5OP6evLorX3hhjlB+Uk5 PQeQ== X-Gm-Message-State: APzg51CNS9CmR8dfHKcb+v1PK9ih/ZfmTeEds6EZ02WZ22CQy2fa+/7L VQo05YxF/Z01vjv8kufcGBPDhA== X-Received: by 2002:a19:eb10:: with SMTP id j16-v6mr3623820lfh.23.1535529465847; Wed, 29 Aug 2018 00:57:45 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f7-v6sm613386lfc.4.2018.08.29.00.57.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:57: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 v6 3/9] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Wed, 29 Aug 2018 09:57:17 +0200 Message-Id: <20180829075724.9095-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-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.