summaryrefslogtreecommitdiff
path: root/chip/it83xx
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2020-06-09 13:20:04 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-10 05:27:37 +0000
commitb1012e1dac6238ceecfa49c40c1552b62c0ad634 (patch)
tree87792c04230c462259ef90b69d24eacae6ef1723 /chip/it83xx
parent355b4dcfd970e3f51f9fbf9ef4d525a9e9b78f35 (diff)
downloadchrome-ec-b1012e1dac6238ceecfa49c40c1552b62c0ad634.tar.gz
it83xx/spi: drop static modifier
spi_get_protocol_info is now declared in the spi.h, so we should drop the modifier. BRANCH=master BUG=none TEST=make buildall -j Change-Id: I499f0a99f05d6881dd76ceb873b28d362b86068c Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2235239 Commit-Queue: Eric Yilun Lin <yllin@chromium.org> Tested-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Diffstat (limited to 'chip/it83xx')
-rw-r--r--chip/it83xx/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/it83xx/spi.c b/chip/it83xx/spi.c
index 3c3e323a7e..0b4e7ce2c2 100644
--- a/chip/it83xx/spi.c
+++ b/chip/it83xx/spi.c
@@ -330,7 +330,7 @@ static void spi_init(void)
DECLARE_HOOK(HOOK_INIT, spi_init, HOOK_PRIO_INIT_SPI);
/* Get protocol information */
-static enum ec_status spi_get_protocol_info(struct host_cmd_handler_args *args)
+enum ec_status spi_get_protocol_info(struct host_cmd_handler_args *args)
{
struct ec_response_get_protocol_info *r = args->response;