summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-11-15 08:52:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-19 11:57:25 +0100
commitc227eac51a8a0132ffcc9851072eb165e1eb7e14 (patch)
treeb18364138a94d199b285101f8a7108a376d34da0 /commands
parent05e2218ed41afb43d250012d0a1a41134715868d (diff)
downloadbarebox-c227eac51a8a0132ffcc9851072eb165e1eb7e14.tar.gz
barebox-c227eac51a8a0132ffcc9851072eb165e1eb7e14.tar.xz
commands: psci: make locally-used function static
Fixes a warning that the function is global, but without prototype. No functional change. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/smc.c b/commands/smc.c
index 67ca4ee902..eb96e581dc 100644
--- a/commands/smc.c
+++ b/commands/smc.c
@@ -8,7 +8,7 @@
#include <asm/secure.h>
#include <linux/arm-smccc.h>
-void second_entry(void)
+static void second_entry(void)
{
struct arm_smccc_res res;