diff options
| author | Ross Philipson <ross.philipson@gmail.com> | 2026-07-11 09:01:10 -0700 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2026-08-25 18:13:37 +0300 |
| commit | 55ba91d4c54ab31ee8387bae40e799de467f8269 (patch) | |
| tree | 025a0b19cfeceb90e6b73273cd7e8b8a48ee39df /drivers/char | |
| parent | 3d9e043dab0a038a53a43570f60bbf4b1e27d63f (diff) | |
tpm-buf: Add TPM buffer support header for standalone reuse
Extract all the functions and definitions for TPM buffer handling
and separate them into their own header.
Signed-off-by: Ross Philipson <ross.philipson@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char')
| -rw-r--r-- | drivers/char/tpm/tpm-buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm-buf.c b/drivers/char/tpm/tpm-buf.c index 1e5c11c312a8..233e81d3f149 100644 --- a/drivers/char/tpm/tpm-buf.c +++ b/drivers/char/tpm/tpm-buf.c @@ -4,7 +4,8 @@ */ #include <linux/module.h> -#include <linux/tpm.h> +#include <linux/tpm_command.h> +#include <linux/tpm_buf.h> static void __tpm_buf_size_invariant(struct tpm_buf *buf, u16 buf_size) { |
