From patchwork Mon Jul 23 08:21:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142553 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779214ljj; Mon, 23 Jul 2018 01:21:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfQbq0huu0SWkyoQmcq09l3v0V/IaOrsVAAkdk71QNvnf05apQ4gGoqiHon24Z17cV5laiA X-Received: by 2002:a17:902:bc41:: with SMTP id t1-v6mr12148540plz.26.1532334075495; Mon, 23 Jul 2018 01:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334075; cv=none; d=google.com; s=arc-20160816; b=st3hjwevKVq+t+lm5s7genRAFFCIS1sWWr5JExw6H7MzE3DkkWw3Hbem1YeG58w1EO NkXpTL21jGZxmsibueMosyjPlfNU+FpvtWmCe9QBeBHGU6Muac3sBIiOemnY8J/DIsfE 6blKhfzksWs9NNDDa+ppFGUoNMyMAlqVmRgAhTZIS4LCgfADhdNJgGsugmCAjMCCw9dS /8GQ150L8M5qTVYuHiD+abrhkKcmrq/fw5Y+QzHtyPU3F4By+nnXA7I7BqV5HjuwTGa9 011wzOIQJDuliBJOQKVPuC8iGF/RdL2SQgVpEBBUo8Anywn1yO5qk+6fwZy0uItlVMnl rbFw== 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=ykURP4b/NAZCz9w8G9O7pUAeMnckqx38MqSNIMj+IMY=; b=nod8/YGl6SdTjCYeVCmXLDqwE8exyptPW9v2QMjWXfAoELrvumDbdOS8pJmzpFCu9Z ilhaEWrpnLtspI+dQVoUqERkaPCS0yIb8z9Vgz3FhiqySpJZ/2M1MFBoWIGGTfdyECvS DfxYatlBm4GU+eX6NF+IYNWb3cO49okav2xBHfuNrupd/9qk00DvGJsikQv+L5wJkRWY l6xIPMPvGsl2o+2MSIMsB9z7qbvncWcWSluGnu4gyEuVCII+0KqidAl8tbIl3TJYQ83L 0qTJQtLSnXHsHTOzepIkY84lY/DBC+6/+pqnZG9pPxMxluDkpaDQZV8qqrOApLUDM+Ya 1/Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PlsDgGKG; 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.15; Mon, 23 Jul 2018 01:21:15 -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=PlsDgGKG; 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 S2387925AbeGWJVP (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:15 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33316 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387908AbeGWJVP (ORCPT ); Mon, 23 Jul 2018 05:21:15 -0400 Received: by mail-lj1-f196.google.com with SMTP id s12-v6so16121581ljj.0 for ; Mon, 23 Jul 2018 01:21:13 -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=u9pEPmzX+lZG+sMNs5xFEhFQhYRf+TwMdbnt7S/dESA=; b=PlsDgGKGUfibUtpMGeGxrvjngU6Wa34xtc3B7Li8S0tt+gj4uuhiLhxlOtD0LYAulP nEXI8dw5rQM/piFMil830SikGOy9kJPj74+V3y3BUfpaxl8vEFk6Oal1PXVo7XBuURAs T9zUCsiH3xkwVlAA1oEGI8HMMdX2zcydcrq+c= 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=u9pEPmzX+lZG+sMNs5xFEhFQhYRf+TwMdbnt7S/dESA=; b=ucZSD6OAt/mLbWy8Y+6u7esrKgelq8GvgqcDwM7viT3zXyd/WJrH0tugKW+DnZszw3 vvMMbz56cVuph1RyrHodFXgxxJ6FCHOTfZCZITL41fR0Ekv5HD0iqBFAKiJ31BkUGlqP V4QI3j7ZiJNT4e1YL//hkZsHfaKGAtj8+4NtS5MT7nYN10jRdmIxgh/4K71kr/f8NcXw ySXI8Nh2Iu/whUh1JvzMj1w3yKNpSdP0aKv0H5qjW4/GoJtFGVcwanoubK+CVBoSh34o Qk9LEeiQ6+7SFI/YV+I3huzGGmMq9zV5DcwRh+o2yEEttEyCzJApjfpg/iHuE48D/+wg e+wQ== X-Gm-Message-State: AOUpUlFTTmB5DINfh6pw+ITwJtRfGWMsTSgULyh/M91vTBQkX7KI8t+5 ZZ1xWb8zXrQ2s+C1f/hFd+f48g== X-Received: by 2002:a2e:1b03:: with SMTP id b3-v6mr7956614ljb.24.1532334072692; Mon, 23 Jul 2018 01:21:12 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:12 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 4/6] soc: qcom: smsm: Add select IRQ_DOMAIN Date: Mon, 23 Jul 2018 10:21:00 +0200 Message-Id: <20180723082102.29673-5-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/smsm.c: In function ‘smsm_inbound_entry’: drivers/soc/qcom/smsm.c:411:18: error: implicit declaration of function ‘irq_domain_add_linear’ entry->domain = irq_domain_add_linear(node, 32, &smsm_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 6e063202ad0b..7da6e67c7ea1 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -143,6 +143,7 @@ config QCOM_SMSM tristate "Qualcomm Shared Memory State Machine" depends on QCOM_SMEM select QCOM_SMEM_STATE + select IRQ_DOMAIN help Say yes here to support the Qualcomm Shared Memory State Machine. The state machine is represented by bits in shared memory.