diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-02-15 19:02:28 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-02-20 12:23:18 +0100 |
commit | 61841be6358c03e864ad4c386c9a102edbba9cb8 (patch) | |
tree | 12ab9207e177ab2ba5a371a8b6b8672f6b560012 /drivers/char/tpm/tpm.h | |
parent | tpm: Fix expected number of response bytes of TPM1.2 PCR Extend (diff) | |
download | linux-61841be6358c03e864ad4c386c9a102edbba9cb8.tar.xz linux-61841be6358c03e864ad4c386c9a102edbba9cb8.zip |
tpm: declare tpm2_get_pcr_allocation() as static
There's no need to export tpm2_get_pcr_alloation() because it is only
a helper function for tpm2_auto_startup(). For the same reason it does
not make much sense to maintain documentation for it.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 6b4e7aaa722f..4937b56a275c 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -554,5 +554,4 @@ int tpm2_auto_startup(struct tpm_chip *chip); void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type); unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); int tpm2_probe(struct tpm_chip *chip); -ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip); #endif |