diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-10-14 20:57:27 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-15 23:40:38 +0000 |
commit | 09e3123257d708a59e3ae110f628ecbae74b49db (patch) | |
tree | 71d96fd934d4b3290e62222d69e7f079e6c5b8d7 /board/elm | |
parent | 0888fe2d3e01b379ca8024d09f24fd89b3d49acf (diff) | |
download | chrome-ec-09e3123257d708a59e3ae110f628ecbae74b49db.tar.gz |
tree: Make all console commands static
Almost all of the console 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: I0ac46358b6fbafa65504c648ce4de0365cdbf723
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3224372
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/elm')
-rw-r--r-- | board/elm/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/elm/board.c b/board/elm/board.c index d62ff8afae..f4f1e3be2e 100644 --- a/board/elm/board.c +++ b/board/elm/board.c @@ -244,7 +244,7 @@ void board_reset_pd_mcu(void) hook_call_deferred(&deferred_reset_pd_mcu_data, 10*MSEC); } -int command_pd_reset(int argc, char **argv) +static int command_pd_reset(int argc, char **argv) { board_reset_pd_mcu(); return EC_SUCCESS; @@ -529,4 +529,3 @@ uint16_t tcpc_get_alert_status(void) { return gpio_get_level(GPIO_PD_MCU_INT) ? PD_STATUS_TCPC_ALERT_0 : 0; } - |