diff mbox series

[2/2] firmware: qcom_scm: Add missing extern specifier

Message ID bce25c8e215f7cfc7b0780d6965d09f5efe1cc5f.1690503893.git.quic_gurus@quicinc.com (mailing list archive)
State Not Applicable
Headers show
Series [1/2] firmware: qcom_scm: Convert all symbols to EXPORT_SYMBOL_GPL | expand

Commit Message

Guru Das Srinagesh July 28, 2023, 12:42 a.m. UTC
Commit 3a99f121fe0b ("firmware: qcom: scm: Introduce pas_metadata
context") left out the `extern` specifier for the API it introduced, so
add it.

Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
---
 include/linux/firmware/qcom/qcom_scm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Trilok Soni July 28, 2023, 1:35 a.m. UTC | #1
On 7/27/2023 5:42 PM, Guru Das Srinagesh wrote:
> Commit 3a99f121fe0b ("firmware: qcom: scm: Introduce pas_metadata
> context") left out the `extern` specifier for the API it introduced, so
> add it.
> 
> Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
> ---

This patch doesn't depend on the EXPORT_SYMBOL_GPL patch right? It can 
sent separately as well, but looks ok to me.
diff mbox series

Patch

diff --git a/include/linux/firmware/qcom/qcom_scm.h b/include/linux/firmware/qcom/qcom_scm.h
index 250ea4efb7cb..0c091a3f6d49 100644
--- a/include/linux/firmware/qcom/qcom_scm.h
+++ b/include/linux/firmware/qcom/qcom_scm.h
@@ -75,7 +75,7 @@  struct qcom_scm_pas_metadata {
 extern int qcom_scm_pas_init_image(u32 peripheral, const void *metadata,
 				   size_t size,
 				   struct qcom_scm_pas_metadata *ctx);
-void qcom_scm_pas_metadata_release(struct qcom_scm_pas_metadata *ctx);
+extern void qcom_scm_pas_metadata_release(struct qcom_scm_pas_metadata *ctx);
 extern int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr,
 				  phys_addr_t size);
 extern int qcom_scm_pas_auth_and_reset(u32 peripheral);