Remove the use of global own_id from ffarpc_call_ep
Pass own_id as the parameter of ffa_call_ep_init to remove dependency
on own_id global variable.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: Ib1beefd856a52dd86a72854a487c1768741ebbd2
diff --git a/deployments/crypto/common/crypto_sp.c b/deployments/crypto/common/crypto_sp.c
index 867cf3f..b198d19 100644
--- a/deployments/crypto/common/crypto_sp.c
+++ b/deployments/crypto/common/crypto_sp.c
@@ -51,7 +51,7 @@
crypto_iface = service_provider_get_rpc_interface(&crypto_provider->base_provider);
}
- ffa_call_ep_init(&ffarpc_call_ep, crypto_iface);
+ ffa_call_ep_init(&ffarpc_call_ep, crypto_iface, own_id);
/* End of boot phase */
sp_msg_wait(&req_msg);