summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-06-01 20:22:30 +0800
committerJarkko Sakkinen <jarkko@kernel.org>2021-06-23 16:51:03 +0300
commit6e0fe58b08e747c73b848de92ccec944f31dddce (patch)
tree906f491f80515df1f76ff4523e3e804b2dfb829a /drivers/char
parentc46ed2281bbe4b84e6f3d4bdfb0e4e9ab813fa9d (diff)
downloadlinux-6e0fe58b08e747c73b848de92ccec944f31dddce.tar.gz
linux-6e0fe58b08e747c73b848de92ccec944f31dddce.tar.bz2
linux-6e0fe58b08e747c73b848de92ccec944f31dddce.zip
tpm: fix some doc warnings in tpm1-cmd.c
Fix the following make W=1 warnings: drivers/char/tpm/tpm1-cmd.c:325: warning: expecting prototype for tpm_startup(). Prototype was for tpm1_startup() instead drivers/char/tpm/tpm1-cmd.c:621: warning: expecting prototype for tpm_continue_selftest(). Prototype was for tpm1_continue_selftest() instead Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm1-cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm1-cmd.c b/drivers/char/tpm/tpm1-cmd.c
index ca7158fa6e6c..f7dc986fa4a0 100644
--- a/drivers/char/tpm/tpm1-cmd.c
+++ b/drivers/char/tpm/tpm1-cmd.c
@@ -312,7 +312,7 @@ unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal)
#define TPM_ST_CLEAR 1
/**
- * tpm_startup() - turn on the TPM
+ * tpm1_startup() - turn on the TPM
* @chip: TPM chip to use
*
* Normally the firmware should start the TPM. This function is provided as a
@@ -611,7 +611,7 @@ out:
#define TPM_ORD_CONTINUE_SELFTEST 83
/**
- * tpm_continue_selftest() - run TPM's selftest
+ * tpm1_continue_selftest() - run TPM's selftest
* @chip: TPM chip to use
*
* Returns 0 on success, < 0 in case of fatal error or a value > 0 representing