summaryrefslogtreecommitdiff
path: root/board/cr50/tpm2
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-07-23 08:18:58 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-07-23 21:05:10 -0700
commit5dac338a8c35cf11835db08b36e3f189b2217824 (patch)
tree646de42efce006fc3e0e16def2f799dd4d31574d /board/cr50/tpm2
parent18eb480eb9fcbaf1c89e76165f370b16e1137d1e (diff)
downloadchrome-ec-5dac338a8c35cf11835db08b36e3f189b2217824.tar.gz
Cr50: Fix _plat__StartupCallback()
In C, one needs to explicitly say that a function takes no parameters (we use -Werror=strict-prototypes so this throws an error). BRANCH=none BUG=chromium:863572 TEST=make BOARD=cr50 -j Change-Id: I30205df30b794e505030b56691a09e103c434910 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1146131 Reviewed-by: Allen Webb <allenwebb@google.com>
Diffstat (limited to 'board/cr50/tpm2')
-rw-r--r--board/cr50/tpm2/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/tpm2/platform.c b/board/cr50/tpm2/platform.c
index 34785588af..bc0a388ca8 100644
--- a/board/cr50/tpm2/platform.c
+++ b/board/cr50/tpm2/platform.c
@@ -63,7 +63,7 @@ void _plat__GetFwVersion(uint32_t *firmwareV1, uint32_t *firmwareV2)
*firmwareV2 = strtoi(ver_str, NULL, 16);
}
-void _plat__StartupCallback()
+void _plat__StartupCallback(void)
{
pinweaver_init();