Skip to content

Commit 6e0fe58

Browse files
Yang Yingliangjarkkojs
authored andcommitted
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 <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
1 parent c46ed22 commit 6e0fe58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/char/tpm/tpm1-cmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal)
312312
#define TPM_ST_CLEAR 1
313313

314314
/**
315-
* tpm_startup() - turn on the TPM
315+
* tpm1_startup() - turn on the TPM
316316
* @chip: TPM chip to use
317317
*
318318
* Normally the firmware should start the TPM. This function is provided as a
@@ -611,7 +611,7 @@ int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf)
611611

612612
#define TPM_ORD_CONTINUE_SELFTEST 83
613613
/**
614-
* tpm_continue_selftest() - run TPM's selftest
614+
* tpm1_continue_selftest() - run TPM's selftest
615615
* @chip: TPM chip to use
616616
*
617617
* Returns 0 on success, < 0 in case of fatal error or a value > 0 representing

0 commit comments

Comments
 (0)