summaryrefslogtreecommitdiff
path: root/common/panic_output.c
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-13 23:50:06 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-15 21:50:03 +0000
commitf0fcad109d75ff48459d2cc7e4c3dde9e691af3f (patch)
tree526c8c2f9d5128db26311a32789b8c605494b535 /common/panic_output.c
parent833baa422d10783531c3293afc8b7ce94a1c846a (diff)
downloadchrome-ec-f0fcad109d75ff48459d2cc7e4c3dde9e691af3f.tar.gz
tree: Make all host commands static
Almost all of the host commands were already static. This change makes all of them static for consistency. BRANCH=none BUG=b:172020503 TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I8330e85e6d64a039f08d7620eed1fe897f436567 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3221786 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/panic_output.c')
-rw-r--r--common/panic_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/panic_output.c b/common/panic_output.c
index 8e2342612d..03c500528e 100644
--- a/common/panic_output.c
+++ b/common/panic_output.c
@@ -421,7 +421,8 @@ DECLARE_CONSOLE_COMMAND(panicinfo, command_panicinfo,
/*****************************************************************************/
/* Host commands */
-enum ec_status host_command_panic_info(struct host_cmd_handler_args *args)
+static enum ec_status
+host_command_panic_info(struct host_cmd_handler_args *args)
{
uint32_t pdata_size = get_panic_data_size();
uintptr_t pdata_start = get_panic_data_start();