]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: declare tpm2_get_pcr_allocation() as static
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 15 Feb 2017 18:02:28 +0000 (20:02 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 20 Feb 2017 11:23:18 +0000 (13:23 +0200)
commit3c2226e50c968bd49093474aae094e5b8f44366c
tree12ab9207e177ab2ba5a371a8b6b8672f6b560012
parent54478f672f2fc68b454f50a68c6136f472cdbeaf
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>
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-cmd.c