Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp91893ybr; Fri, 22 May 2020 01:40:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuldJMzZ/nZt2Pam3Y5hnAftlbbF1Qrx6AQPA2arUrYRoKgl1R7QtZBqNzQtc2EqXcVdyN X-Received: by 2002:a17:906:7d90:: with SMTP id v16mr6809241ejo.554.1590136813041; Fri, 22 May 2020 01:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590136813; cv=none; d=google.com; s=arc-20160816; b=s9tr6ja2OKKSM+tdBDzTStgZMoNApN4dGbrJiejVjKQqdIV0LSAICLSrHhPHgmHbd0 o8i0f+U+vir7xTW/hyhGNeKtxg1LZYwsjidXOz1bmipfheDpwQwEzhadQO6OjQYUexdn /GH2ozkWj6EVy+Dq5F0DxBmp54C9mSOWFt5Euk+knn4cwIriFJ4cNBNLGVlTslJa81Hw 5KA2r2+CSF95hxXgHp2pJ6znwLqiWUSavIobECbPO+rE6dTPlZwlEw4+A0b7ZFCQJkVi ehVSmTdMUmx88nbewgw4aj7MsKYFIpKjZyJQZ8yI9Cx3+3ZQkBqivlCFdsa0MQwKQEvJ 8VdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=2/tnIk8bpnOQtTKsCaKqoX+9dZcIywho4pOlJD1yAFA=; b=RM4JYa/lVtfcgXv2/nnWy4MQIl4o97Ky1YfC/OVywqJ2BXmO/16e3xm+Md+cmRFLrW mgWMmQTkRFcZxmkcg4sx1VViIgMViyLn2KdajXo4ZXVZjSGsAC5ncwkplkC9QksuzKuo GdzEvRC2xMUOUhDO+RdNKSCjX2+xajoJwpjd4dtRpeA8xzCPRJxhIDe3Zm1yxzdL0Y6z gBS0JaQy1RbRQj6gSj63vhwDDowAEZR8skMMDimboV2pXKB324TWzMJfkO+p6iPOVDBv NZpXgg8GKk+GyVx4tjVkKBs2NlD6AEn/vYXnNHIF8+ooE81ZPqiKaLxTahgzdNRz/Bbj ef6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c24si4403277ejm.745.2020.05.22.01.39.50; Fri, 22 May 2020 01:40:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729733AbgEVIiB (ORCPT + 99 others); Fri, 22 May 2020 04:38:01 -0400 Received: from foss.arm.com ([217.140.110.172]:59324 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729624AbgEVIiA (ORCPT ); Fri, 22 May 2020 04:38:00 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 925D155D; Fri, 22 May 2020 01:37:59 -0700 (PDT) Received: from entos-d05.shanghai.arm.com (entos-d05.shanghai.arm.com [10.169.40.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 444903F52E; Fri, 22 May 2020 01:37:53 -0700 (PDT) From: Jianyong Wu To: netdev@vger.kernel.org, yangbo.lu@nxp.com, john.stultz@linaro.org, tglx@linutronix.de, pbonzini@redhat.com, sean.j.christopherson@intel.com, maz@kernel.org, richardcochran@gmail.com, Mark.Rutland@arm.com, will@kernel.org, suzuki.poulose@arm.com, steven.price@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Steve.Capper@arm.com, Kaly.Xin@arm.com, justin.he@arm.com, Wei.Chen@arm.com, jianyong.wu@arm.com, nd@arm.com Subject: [RFC PATCH v12 03/11] psci: export smccc conduit get helper. Date: Fri, 22 May 2020 16:37:16 +0800 Message-Id: <20200522083724.38182-4-jianyong.wu@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200522083724.38182-1-jianyong.wu@arm.com> References: <20200522083724.38182-1-jianyong.wu@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export arm_smccc_1_1_get_conduit then modules can use smccc helper which adopts it. Acked-by: Mark Rutland Signed-off-by: Jianyong Wu --- drivers/firmware/psci/psci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c index 2937d44b5df4..fd3c88f21b6a 100644 --- a/drivers/firmware/psci/psci.c +++ b/drivers/firmware/psci/psci.c @@ -64,6 +64,7 @@ enum arm_smccc_conduit arm_smccc_1_1_get_conduit(void) return psci_ops.conduit; } +EXPORT_SYMBOL(arm_smccc_1_1_get_conduit); typedef unsigned long (psci_fn)(unsigned long, unsigned long, unsigned long, unsigned long); -- 2.17.1