[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230830-smccc_export-v1-1-6ecc7661bc94@somainline.org>
Date: Wed, 30 Aug 2023 15:23:50 +0200
From: Martin Botka <martin.botka@...ainline.org>
To: Mark Rutland <mark.rutland@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Sudeep Holla <sudeep.holla@....com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Andre Przywara <andre.przywara@....com>,
Alan Ma <tech@...u3d.com>,
Luke Harrison <bttuniversity@...u3d.com>,
Marijn Suijten <marijn.suijten@...ainline.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Martin Botka <martin@...u3d.com>,
Martin Botka <martin.botka@...ainline.org>
Subject: [PATCH] firmware: smccc: Export both soc_id functions
arm_smccc_get_soc_id_version and arm_smccc_get_soc_id_revision
need to be exported so they can be used by modules.
Currently sun50i cpu freq driver is planning to use these functions.
Signed-off-by: Martin Botka <martin.botka@...ainline.org>
---
drivers/firmware/smccc/smccc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/firmware/smccc/smccc.c b/drivers/firmware/smccc/smccc.c
index db818f9dcb8e..b4224da46988 100644
--- a/drivers/firmware/smccc/smccc.c
+++ b/drivers/firmware/smccc/smccc.c
@@ -64,11 +64,13 @@ s32 arm_smccc_get_soc_id_version(void)
{
return smccc_soc_id_version;
}
+EXPORT_SYMBOL_GPL(arm_smccc_get_soc_id_version);
s32 arm_smccc_get_soc_id_revision(void)
{
return smccc_soc_id_revision;
}
+EXPORT_SYMBOL_GPL(arm_smccc_get_soc_id_revision);
static int __init smccc_devices_init(void)
{
---
base-commit: 706a741595047797872e669b3101429ab8d378ef
change-id: 20230830-smccc_export-aa68d8a25539
Best regards,
--
Martin Botka <martin.botka@...ainline.org>
Powered by blists - more mailing lists