From: Miquel Raynal <miquel.raynal@bootlin.com>
Date: Tue, 15 May 2018 09:57:07 +0000 (+0200)
Subject: tpm: add missing parameter in private data structure description
X-Git-Tag: v2025.01-rc5-pxa1908~4232
X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=3219cf693a1674650eba2a57d4bf8c87d9f21752;p=u-boot.git

tpm: add missing parameter in private data structure description

Both parameters 'duration_ms' and 'retry_time_ms' of the tpm_chip_priv
structure are documented is the comment above the declaration but 'buf'
was forgotten. Add the missing description.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/include/tpm-common.h b/include/tpm-common.h
index 1ca5d28242..e0ba696f1c 100644
--- a/include/tpm-common.h
+++ b/include/tpm-common.h
@@ -35,6 +35,7 @@ enum tpm_duration {
  *
  * @duration_ms:	Length of each duration type in milliseconds
  * @retry_time_ms:	Time to wait before retrying receive
+ * @buf:		Buffer used during the exchanges with the chip
  */
 struct tpm_chip_priv {
 	uint duration_ms[TPM_DURATION_COUNT];