aboutsummaryrefslogtreecommitdiff
path: root/services/spd/opteed
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-04-19 01:14:42 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-04-21 10:43:59 +0900
commit724fd958c3f4507b2282524665a878f0169de864 (patch)
treed5fa589950d963a9fdd435f61249278c29059078 /services/spd/opteed
parent7f6d8f49aa916a526c2ce227606cc51eebd0c950 (diff)
downloadtrusted-firmware-a-724fd958c3f4507b2282524665a878f0169de864.tar.gz
spd: add static qualifier to locally used functions and data
These are used locally in a file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'services/spd/opteed')
-rw-r--r--services/spd/opteed/opteed_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/spd/opteed/opteed_main.c b/services/spd/opteed/opteed_main.c
index 3d679806c2..a9e4ece2d0 100644
--- a/services/spd/opteed/opteed_main.c
+++ b/services/spd/opteed/opteed_main.c
@@ -90,7 +90,7 @@ static uint64_t opteed_sel1_interrupt_handler(uint32_t id,
* (aarch32/aarch64) if not already known and initialises the context for entry
* into OPTEE for its initialization.
******************************************************************************/
-int32_t opteed_setup(void)
+static int32_t opteed_setup(void)
{
entry_point_info_t *optee_ep_info;
uint32_t linear_id;
@@ -187,7 +187,7 @@ static int32_t opteed_init(void)
* state. Lastly it will also return any information that OPTEE needs to do
* the work assigned to it.
******************************************************************************/
-uint64_t opteed_smc_handler(uint32_t smc_fid,
+static uint64_t opteed_smc_handler(uint32_t smc_fid,
uint64_t x1,
uint64_t x2,
uint64_t x3,