Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp834638imm; Tue, 3 Jul 2018 00:24:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKqN5FtLVq53v0BhcjQQjUW6fMibXB3H8hpV08OzzeK/puRnGuKzFh/7AhXn1HBWUM4O7It X-Received: by 2002:a63:2b15:: with SMTP id r21-v6mr24807600pgr.262.1530602685783; Tue, 03 Jul 2018 00:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530602685; cv=none; d=google.com; s=arc-20160816; b=tskX+zbOSQpN4TdWOvf5PT5LsMD49Gj+j6buDOP6O6/7rwtwwn/+JcCzmqy1huKHRr kpyVacbcS1ng5UnxjDHYnrNgKwgr1O1A6I9yVv0Pcvsw4XAcT0zFfPNTYugLKFRGP++t +pC8IxQolCMCBqaXOj0ryRWcqAEwgJg2Tu1a5I2qaRgwhxUpEv2mXjzdbukJIQw0ODXi 33I+7wKo9p/J2Dl5Td6C8YzLAd49WHMEAyluL7jDpe0fSkR7VqYr3+vfzk1/TfW3Tg8x 48KbqkGh6wf/JACkj8tT6Es/UGu5TNkeVVm/n4dRBkMIfl1c1k/mRDluAwn5Hxfr9WFh 2mtw== 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=nTDxugtZeyy+P8tfJ0xzeSLjoTQx+5c0GjmgeObjrYc=; b=UEJyMQsnXcA8vVUPIIe5EqFlg8xQDmRTYvrCX/0t7LEc/5kWuT4BP4HA5oqWFkLhg1 gk4ceHZrWEIOB6db33MeXs+CcW1I98vOWcv3L5oVJCN1DyI8h3or6f02Jv6oJ8tUYM7b YV8glBJH+JBVfyar2dU3pbB7Hd3NdQvZUK04NRitXYLDmNFhN+Hj36VDISDgl+U9dxBp yFD8BkfjSLXQ33tH+WUgOFgmnzKY7d7TkbCwGBixyuGImIf85sz3P1Uowk/+OPWUD2yR dVG23KZetDE2ktp+b7Rfc8AMOzEVMDY4NP6oxw1DGmsZvCmBMM618azNGNfbRGhzOoZb t/MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fnLN5ITV; 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 c5-v6si502505pll.75.2018.07.03.00.24.31; Tue, 03 Jul 2018 00:24:45 -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=fnLN5ITV; 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 S932933AbeGCHVM (ORCPT + 99 others); Tue, 3 Jul 2018 03:21:12 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37458 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932767AbeGCHVI (ORCPT ); Tue, 3 Jul 2018 03:21:08 -0400 Received: by mail-lj1-f194.google.com with SMTP id c11-v6so705979lja.4 for ; Tue, 03 Jul 2018 00:21:08 -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=nTDxugtZeyy+P8tfJ0xzeSLjoTQx+5c0GjmgeObjrYc=; b=fnLN5ITVuG/lobcONvxC9fGoAwBonf3xWF8MEZOFHZiqDjhme/edgjdcMxZh9p7Ov+ 5IDXMjWQypE+xGWfD3vcWFD8eYm6lbqD2UBgyLY54HAyANpFS55+8O47N385ipnCmZ0U Dhde4pE2iGTui1+DaGhK0yM5pfPWHij3OANFo= 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=nTDxugtZeyy+P8tfJ0xzeSLjoTQx+5c0GjmgeObjrYc=; b=fNBy9yH4k+scfjNTcp0rOzIDPskWXJ8QZu1A9perz4utLyVNORrRZonRSEZnFOtiFZ +3ub/LrDyJ8wqRFjL3ybYeO0LtGpdivZeIHZW14W8s+9ddmtzkZP25vuXXWyPHCO2dcs b2ENVj64+4OU7UJPx+V1d2X+Ms8LMpod+uxebfTEsJLGtv5AdIZk+7ycUvHC6fppnwoR lYQzFr0QkYfdeGm49V7460noKHvWWl+pB04BLpBlupNrnx5iDUT5zy/P7kUBQCp8T0Pu 4iJR2+eaj9ModRiWNmb+1gx2hzb1ak3vcFv23N5CUh6+JeTxC7fBlVZdv1uEWZ+xHPVA hIvw== X-Gm-Message-State: APt69E38sNA/KPHuoOvYpDGtUNkvli07VKlSbRz745UMRMH4lJlr/SLi PkUqvnYfBtCdXlaiBeP2nhtYFA== X-Received: by 2002:a2e:3a0e:: with SMTP id h14-v6mr17604745lja.20.1530602467463; Tue, 03 Jul 2018 00:21:07 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id k10-v6sm70519ljh.5.2018.07.03.00.21.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 00:21:06 -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 v3 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Tue, 3 Jul 2018 09:20:30 +0200 Message-Id: <20180703072034.20213-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703072034.20213-1-niklas.cassel@linaro.org> References: <20180703072034.20213-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 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. -- 2.17.1