From patchwork Sat Aug 29 17:09:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 248710 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp2036495ilg; Sat, 29 Aug 2020 10:09:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCTHnEBcxgvIyDHZxgXVYEgOxvZAFgaCWASb0fF0wMpuSIoqQkJPCHjxCQwX0guInHCgWi X-Received: by 2002:a17:906:b154:: with SMTP id bt20mr4588555ejb.272.1598720981074; Sat, 29 Aug 2020 10:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598720981; cv=none; d=google.com; s=arc-20160816; b=MXerQzEmbAi1AkuWNoyxz4Be1Iy6TPEOqWGqMCN9sQmkIcBWU2/LhQPnIKl2HOvMP1 uGxAvsQ5NTkP8AJ9KkUFspH6ulqSCNKrZFGCo8aK0giWgWFhwLlHFja4eL62TY4wGdpx ei1HYBMFdod368gtQzYzp0wR9rveTL8F+Pi61E/v6BbeIDmK3gNXnpdpSZEgQUD1oTOy YP+YDI5WTRZs/fGtt74b832DuOt7JatSFeRipHWFR44ectIf7pU6Y3Tobm6IRbJBdixx 9F0SUUCHIpOV9YdumFrz6J1R/qlortEAUc7tYN6Rhixh53hoJFFW+PNWOA/7Q0rXDa3u z+Lg== 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=ehYUy6Pl7rY9/D/wDTfln1hEHsokMRc4S0J5jKUED9I=; b=Gzi2JeCzdI2Cto0asr/wC/pQeFCdB3lH6rre4B/fQvPsRgxwBqOXFOQuRmgCxOgxcQ g1dBEK4Lq6PIQKVr+WifSS7I6eoVh6MOefRQM/36bD4o2xvUBbANbXJ92zN+ieKNsCKA N1dC4VK2rwZxLUOGp2jn2WFrdrjyylD8zIzyXaWxjI9BwY+PPkclwmPIf122do/llwXN 0NSOl95Bju//qKcIKX1tuRnMvecClALspIhkhdbtF1tzZvVygBB6PCfpY9OYWX4NJYYS EB9vvjWxqn1l/0os6SH43ry06p4+2q2LVlr8SWJ78XoEDgzUpCVg8GynJNU6KurA09ru CAYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 d22si1952640edz.234.2020.08.29.10.09.40; Sat, 29 Aug 2020 10:09:41 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728439AbgH2RJi (ORCPT + 6 others); Sat, 29 Aug 2020 13:09:38 -0400 Received: from foss.arm.com ([217.140.110.172]:45064 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728471AbgH2RJh (ORCPT ); Sat, 29 Aug 2020 13:09:37 -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 C623712FC; Sat, 29 Aug 2020 10:09:36 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BD77E3F71F; Sat, 29 Aug 2020 10:09:35 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Sudeep Holla , kernel-team@android.com, Will Deacon , tsoni@quicinc.com, pratikp@quicinc.com Subject: [PATCH 4/9] firmware: smccc: export both smccc functions Date: Sat, 29 Aug 2020 18:09:18 +0100 Message-Id: <20200829170923.29949-5-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200829170923.29949-1-sudeep.holla@arm.com> References: <20200829170923.29949-1-sudeep.holla@arm.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We need to export both arm_smccc_1_1_get_conduit and arm_smccc_get_version to allow Arm FFA modules make use of them. Let us export them in preparation to add support for Arm FFA modules. Signed-off-by: Sudeep Holla --- drivers/firmware/smccc/smccc.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/firmware/smccc/smccc.c b/drivers/firmware/smccc/smccc.c index 4e80921ee212..00c88b809c0c 100644 --- a/drivers/firmware/smccc/smccc.c +++ b/drivers/firmware/smccc/smccc.c @@ -24,8 +24,10 @@ enum arm_smccc_conduit arm_smccc_1_1_get_conduit(void) return smccc_conduit; } +EXPORT_SYMBOL_GPL(arm_smccc_1_1_get_conduit); u32 arm_smccc_get_version(void) { return smccc_version; } +EXPORT_SYMBOL_GPL(arm_smccc_get_version);