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/protected-storage/common/ps_sp.c b/deployments/protected-storage/common/ps_sp.c
index 564378d..9b55e9a 100644
--- a/deployments/protected-storage/common/ps_sp.c
+++ b/deployments/protected-storage/common/ps_sp.c
@@ -44,7 +44,7 @@
storage_backend = storage_factory_create(storage_factory_security_class_PROTECTED);
secure_storage_iface = secure_storage_provider_init(&secure_storage_provider, storage_backend);
- ffa_call_ep_init(&ffa_call_ep, secure_storage_iface);
+ ffa_call_ep_init(&ffa_call_ep, secure_storage_iface, own_id);
/* End of boot phase */
sp_msg_wait(&req_msg);