summaryrefslogtreecommitdiff
path: root/cmd/tpm-v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/tpm-v1.c')
-rw-r--r--cmd/tpm-v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tpm-v1.c b/cmd/tpm-v1.c
index 0874c4d7ba..69870002d4 100644
--- a/cmd/tpm-v1.c
+++ b/cmd/tpm-v1.c
@@ -608,7 +608,7 @@ static cmd_tbl_t tpm1_commands[] = {
#endif /* CONFIG_TPM_LIST_RESOURCES */
};
-cmd_tbl_t *get_tpm_commands(unsigned int *size)
+cmd_tbl_t *get_tpm1_commands(unsigned int *size)
{
*size = ARRAY_SIZE(tpm1_commands);