Remove own_id global variable from SP deployments
Move own_id to local namespace as both ffarpc_call_ep and ffarpc_caller
dependency on global own_id has been resolved.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I86b68a4a05285763218a9e60d6e4d4877b322707
diff --git a/deployments/sfs-demo/common/sfs_demo_sp.c b/deployments/sfs-demo/common/sfs_demo_sp.c
index 0b749b4..558f5b3 100644
--- a/deployments/sfs-demo/common/sfs_demo_sp.c
+++ b/deployments/sfs-demo/common/sfs_demo_sp.c
@@ -23,7 +23,6 @@
{ 0x48, 0xef, 0x1e, 0xdc, 0x7a, 0xb1, 0xcf, 0x4c, \
0xac, 0x8b, 0xdf, 0xcf, 0xf7, 0x71, 0x1b, 0x14, }
-uint16_t own_id = 0;
static uint8_t tx_buffer[4096] __aligned(4096);
static uint8_t rx_buffer[4096] __aligned(4096);
static const uint8_t its_uuid[] = SP_ITS_UUID_BYTES;
@@ -138,6 +137,7 @@
struct storage_backend *storage_backend;
uint16_t sp_ids[3];
uint32_t sp_id_cnt = 0;
+ uint16_t own_id = 0;
/* Boot */
(void) init_info;