tpm: add missing parameter in private data structure description
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 15 May 2018 09:57:07 +0000 (11:57 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 26 May 2018 00:12:55 +0000 (20:12 -0400)
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>
include/tpm-common.h

index 1ca5d28242679199f7fab4e1057f54abf990ab8e..e0ba696f1c9505fdff47e87dee5ffd75e492ea5b 100644 (file)
@@ -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];