Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp336096imm; Wed, 29 Aug 2018 01:00:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZbt8P+vpSZfw2mcKNMXwm+fgQIomFzyp9yTSlN6XKySNJKJTjR9gO4UEQfqZYq6JCiiNgm X-Received: by 2002:a63:6988:: with SMTP id e130-v6mr4760990pgc.249.1535529657592; Wed, 29 Aug 2018 01:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529657; cv=none; d=google.com; s=arc-20160816; b=JQuljKoCzPgZkRrYRCy9mgzjZpc9C+dBzPEwi+f35KWzYmZdbY4c1x+DdGNuZ0cmG9 AHN0N+EvA9dCcvGciX/8cBprR7XKM1M055PrYBgvcF274b6bPJhmxE+OQz7ML0Agsc4T NeG6aZPlb3W2VxrAM9rC0baG5CWbwMgxgbUvsaZCGiAOCQWFYAwZ4agw8+iBitBoNOx1 VTmvSWCVhULRh02KFoF/X3S1ea3XdxijOLaXDMYsU9ofIDr58m1qCt+oB27+Ymrn9xgU MIdRFuAoWMwugB+uphJlvRti497etyTRIuO6TS2ba/nSL5CH1sP3MAAoKrTFtQ11uk4x pWCg== 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=zfxROWNtbNKZxWkLMjpRRSxqes7z5syNgeXLXQFwKNzwFqDknDJo9Q3QiDpuUU3Wf/ SvzkGvblPrrVIst9SuB1d6Ev03TKXZlNsjY2KrwK6wQ2pUFKd/DKLAFXIwIaR0AYMYz1 HJ6LTUfASyo7m5E4ncywyE8NcuizlQFR7XUc8s9e9zBCVZjicsNs4r9/XBhq+twDle5T JTVzJNEmOhZ0Zt7T6tSJdQngzRwJpO6z2LPXmFhEPcbBiH2g90LI0/yJWAwSwcawOVfh Af9sUpJ7hazTplu/B01ijhNAJapk+gY+XFlJ+SDOI7HSbFABvXCyZQxTIOZH2TQYMWzC qHZQ== 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-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 u19-v6si3254548pgl.94.2018.08.29.01.00.42; Wed, 29 Aug 2018 01:00:57 -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=hD7jWFvK; 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 S1727950AbeH2LxY (ORCPT + 99 others); Wed, 29 Aug 2018 07:53:24 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:40776 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727072AbeH2LxY (ORCPT ); Wed, 29 Aug 2018 07:53:24 -0400 Received: by mail-lf1-f65.google.com with SMTP id x26-v6so3520155lfi.7 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=QH8iHl3YoDkeuNzkx/1KGxPqNTkq2gqWOxjWCh8JOEHknNRS3OLRBr1IFRj9AwFzBE 6Lrx1uL2jByisIkkRrU2dhKD7P0KBtFp0Utu2+fSazNlckIQ2869ze82lYFIYM4Iq+VZ 3ojHzH5U3FWitugA6Udz6awVvQck6ExaExVydrrRzA+UDL12JfNYkwvb02ZIYyr/5SYj 3DbTzpYYYg+dpqTK8HEUNMmsI997e+UeRHM5F4e+BP71919bREeEJjDAxvyN7MVDropu pazEiQ14Sr06GmyOjGAr3E3vpTWGVNALFoHg4ZkbRDERxMk23jKL4vfNqewwowFi6LfT s7GA== X-Gm-Message-State: APzg51Ba6uGqwNPe9J2maMcdJalirzx2Ul2sShgVwYWRJu/6DY3te4qs VBSAin9p9KKI8ywaB9JWdzcUft0fcBc= 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 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 Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- 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