From patchwork Mon Jul 23 08:20:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142552 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779200ljj; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfWF7yVc2hF+Zhlaw4o18dJjGV9j/aNnVjeteBmu3u37mXNmDr1FgHaKmcN6z++JTO1t+jv X-Received: by 2002:aa7:82c3:: with SMTP id f3-v6mr12218746pfn.136.1532334074508; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334074; cv=none; d=google.com; s=arc-20160816; b=M1ueVBrKlbh6ESEopkEbrajpcSDvUE0DKVkBVl8yvvfI5KcKLMY8ntmqapmCFg9RL4 vD76kyJZyldLGVd3/Y00Hdmm6cMXcw44aSX49G9XIgyqTcZWtwZlZD1Ky87SMJX840i9 PlTPpK0Wik0X0kT4VCdW20JuIRb05LpoGUV9n30OUJ3I1kZiWOAZXYTAi651nOLGsl0A 06VpmrX6lAAAKvxkZFsGsSyqN4AZt4Insag6I5Apzn4oFVQyUwIp+YfFU4xt4EjNYdx5 DXC6Rcf0Z5xQyuyIiINJNg522GLsSYgoJDJJQBZVqAGIN/8fb5gem2tnYF7NpUphA99F KEBA== 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=lsdEM58x68j3BsB0zAMr5q3/uXg+st7fJFcu9xgm9zA=; b=n0D3gQaOwF+XQ0NhPN+qBGcnFggG5UBrCuidZpYLrOl/GneMksJJEW/9uLZ3MQ2ySq IqeVynb/+Fww0QvhrAnJl/H+UftsYYG1lpInm9RuFBBZO7X0+8JKGRmaSuC3/fRczDji BqtPICpAp9t+endWM+O9CtQYXt6+iLAwuIdUxfu9gRPYsNBi5bgewD6DkbQF3h06i7LP X1rh9SeH91ykq4z/oH0GnG/RBMVr9JSi2gYOgq/ZteAw+hC1A4vEZFQ0DC03NuwbYujn rYdk8Qnh05w7EbPM3KfVPwnuFs6z4EFbmdPu8hRUD+46W8L48sLSgkBKr3xrqixdLAZb UUqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ib2+8lqS; 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 u1-v6si8141388plj.43.2018.07.23.01.21.14; Mon, 23 Jul 2018 01:21:14 -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=Ib2+8lqS; 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 S2387923AbeGWJVO (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:14 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43608 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387913AbeGWJVO (ORCPT ); Mon, 23 Jul 2018 05:21:14 -0400 Received: by mail-lj1-f195.google.com with SMTP id r13-v6so16106368ljg.10 for ; Mon, 23 Jul 2018 01:21:12 -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=55gYUD6xc2LOUVPeIagURcs5IORgpz31cRgPFxnmojM=; b=Ib2+8lqS3U4XLbNX91eOa0dV+51FbQ//bB+OQIgcTadpMNKbbMI/80zKpB9Byurm49 6JbG+i+v2kBR6y9syGylkJDJUTbDOspugTSBKeXEDu+UJH70HHgP2UFFAuw4BFzljz6F 1nKBxTlBeE3DCK1+I6rIbVwZ27mQJe0NJ8dcY= 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=55gYUD6xc2LOUVPeIagURcs5IORgpz31cRgPFxnmojM=; b=fWXyMq0hnIbGzY3rVpEaWtg+kteWFCpIw0Ias8slUkikLuis4PA/mOWcdLAaWzULKp cXut0NTLowk8v/gr8umJ628Qg6rML/W3OUwr5NBvba6OYC2YCDwD3om5DWeRXc12dAnH Bpm/71CS5265awPAbfYImJ05KBgtrxwmviJJBuuyat+x63qpNZeeXMXROFV4O6twptx8 Wt3qaZdlrqU8j236ik7fwdYeB2X9LFJHNZPyzZu0gupkdDB1zqZ117Gxk7nBYzyaaSGU oa9wxW0jvIliRGNZ4Rgw/NdO6ulKYmTTNn8f4AR0837HfelU81ukdwP8++RYTWrdfllk ED5w== X-Gm-Message-State: AOUpUlFGgILoALBSimBBSAybQcqeFJq0eAbrTt8aZTlr5All41qYDlPy TrAuQRF3bUQTRQub3sLXdH181w== X-Received: by 2002:a2e:2d0a:: with SMTP id t10-v6mr6607417ljt.8.1532334071664; Mon, 23 Jul 2018 01:21:11 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:11 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 3/6] soc: qcom: smp2p: Add select IRQ_DOMAIN Date: Mon, 23 Jul 2018 10:20:59 +0200 Message-Id: <20180723082102.29673-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-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 --- 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 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.