Skip to content

Commit 9cf3415

Browse files
Haxk20vireshk
authored andcommitted
firmware: smccc: Export revision soc_id function
The "SoC ID revision" as provided via the SMCCC SOCID interface can be valuable information for drivers, when certain functionality depends on a die revision, for instance. One example is the sun50i-cpufreq-nvmem driver, which needs this information to determine the speed bin of the SoC. Export the arm_smccc_get_soc_id_revision() function so that it can be called by any driver. Signed-off-by: Martin Botka <[email protected]> Signed-off-by: Andre Przywara <[email protected]> Acked-by: Sudeep Holla <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent cf7de25 commit 9cf3415

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/firmware/smccc/smccc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ s32 arm_smccc_get_soc_id_revision(void)
6969
{
7070
return smccc_soc_id_revision;
7171
}
72+
EXPORT_SYMBOL_GPL(arm_smccc_get_soc_id_revision);
7273

7374
static int __init smccc_devices_init(void)
7475
{

0 commit comments

Comments
 (0)