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/se-proxy/common/se_proxy_sp.c b/deployments/se-proxy/common/se_proxy_sp.c
index 1f26ce0..fd314e4 100644
--- a/deployments/se-proxy/common/se_proxy_sp.c
+++ b/deployments/se-proxy/common/se_proxy_sp.c
@@ -33,7 +33,7 @@
sp_config_load(init_info);
rpc_iface = rpc_demux_init(&rpc_demux);
- ffa_call_ep_init(&ffarpc_call_ep, rpc_iface);
+ ffa_call_ep_init(&ffarpc_call_ep, rpc_iface, own_id);
/* Create service proxies */
rpc_iface = its_proxy_create();