diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2020-06-23 16:33:57 +0200 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2020-09-14 08:30:36 +0200 |
commit | 6825f17c950ca5691a057fa71bb1b649b7434014 (patch) | |
tree | 0e7980b0fdcb00824f0a46f9100c5b1a42a216e6 /drivers/firmware/smccc | |
parent | firmware: arm_scmi: Fix NULL pointer dereference in mailbox_chan_free (diff) | |
download | linux-6825f17c950ca5691a057fa71bb1b649b7434014.tar.xz linux-6825f17c950ca5691a057fa71bb1b649b7434014.zip |
firmware: smccc: Export both smccc functions
We need to export both arm_smccc_1_1_get_conduit and arm_smccc_get_version
to allow several modules make use of them. Arm FFA, Arm SCMI and PTP
drivers are few drivers that are planning to use these functions.
Let us export them in preparation to add support for SCMI as module.
Link: https://lore.kernel.org/r/20200907195046.56615-2-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/smccc')
-rw-r--r-- | drivers/firmware/smccc/smccc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |