summaryrefslogtreecommitdiff
path: root/common/port80.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/port80.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/port80.c')
-rw-r--r--common/port80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/port80.c b/common/port80.c
index ab1f112112..5d4a6b12ac 100644
--- a/common/port80.c
+++ b/common/port80.c
@@ -168,7 +168,7 @@ enum ec_status port80_last_boot(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
-enum ec_status port80_command_read(struct host_cmd_handler_args *args)
+static enum ec_status port80_command_read(struct host_cmd_handler_args *args)
{
const struct ec_params_port80_read *p = args->params;
uint32_t offset = p->read_buffer.offset;