Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5799521imm; Mon, 27 Aug 2018 04:38:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYgYMq4uhSW2vpg+bGlLQ1h9SpFaT0RCXo5kDim4ARdkJshUQ2P93g/QVKbD1DwXONNm9b7 X-Received: by 2002:a62:1605:: with SMTP id 5-v6mr13990152pfw.11.1535369933314; Mon, 27 Aug 2018 04:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369933; cv=none; d=google.com; s=arc-20160816; b=Oc78awbGE/FKpInGu4hoTmca2KrqlJn9heNm82iTaRiv4BDMX/UeMWXLluDL3FZj95 f2PURN8dADySFyQKxRWNthrY9STzsr+TLxNmmn48qv6RNVZLCCGT5eFTmhvq/t74ZysS cudw3l0oz+8fNwHkYnElAQvVSIE0Yb7nHclB6BJnEKF9o+qG06XF7WsgYNk1aPdU9vVQ sbZRePH6mRSAFvLxiUxm852+zlXi3hArvdDfIWOvOUZn1c/1L0jIKsF+PXaAm7zq5e/x ixuEYSUmTB9qjkL3qbVvJGvKpOhgZw0UEt8M0K6iGrRfodEtUUOHCVWc59WcgsPeYbAI orsg== 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=gBWVuULSl8eq0F4BPGvWm3CJW2RlkRzJkeqZ3yfJfZDqvQfQ9ryN3OWNWlyf+4f6TX yUMuvnvpy0maZSK5yhA3uI4u6VeVgyBCO2FB0RPzGxJJ7DHOfWERd2qwKuo339Va2F7K MlJSP8TDarQYrPCgodcu281ZpvAWynQ5oYS//IWawAJj2/eCaKM2D9oa5w/+/2xgD9eY NIMNcs9MzHEnzGhgMUKzGMkkOZI3ahkvVPFDXBZo1gtVOM26JTk5c73Q7SWnVpg7JjsJ Rwv8nRVm5h0OMuLQt/H//f7rFHHZbCu1gmGQMB3ilU3jVBimuUqeJAC8pXfMOsE/Ry0+ dhjg== 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-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 x18-v6si13458294pll.88.2018.08.27.04.38.38; Mon, 27 Aug 2018 04:38:53 -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=F10bkLx4; 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 S1727460AbeH0PXF (ORCPT + 99 others); Mon, 27 Aug 2018 11:23:05 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:41915 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727057AbeH0PXF (ORCPT ); Mon, 27 Aug 2018 11:23:05 -0400 Received: by mail-lf1-f65.google.com with SMTP id l26-v6so11665368lfc.8 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=YOOeqh+W7As+Ule4gWXtcu1FoYz43bjWYQd233OHTb3SzK+aHOQ2KTTxSaXiGkcIG5 BrlQ32ay9hAUjXwRujAtriOXA92YE5fOME7yuT+utG3gQMbOmMTUs82hqqmSzBUDcTK7 8Bo3NFWoKihqbVCCewHOcvwYRy0afntxGEz0F/FdoW6WM88ymnKn+oZ7mPVhZpVtsZ1H 6yigRD6AbEVUbeGSwxjY5pCI7R65uJBT4WagxCvrjUpg7a5qQrBJWn9/D9GoJGYcg39V 539TgQBSC+xCcmBwGBfz0BbqwMVe142aItr3r6f5l5w5+YyyZUpiQKO6V/CqSh5tNckw jKZA== X-Gm-Message-State: APzg51B25TBSXIKkS3ZbhAClazUN4Bv5YrDFjV1Nj9VsGAjiAN7SQsxH VmhxyGlRsrT+tP+5syAcZ8lS9Q== 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 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