summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlec Brown <alec.r.brown@oracle.com>2026-07-11 09:01:06 -0700
committerJarkko Sakkinen <jarkko@kernel.org>2026-08-25 18:13:36 +0300
commit71ab22dbcfb5cf4c99d167a7e0452a40a74a192e (patch)
treebcf7700c6f2322995c3054dc840f0ee12864e0ab /include
parent5467ade151973477742af922cc33bb30e816af42 (diff)
downloadlinux-71ab22dbcfb5cf4c99d167a7e0452a40a74a192e.tar.gz
linux-71ab22dbcfb5cf4c99d167a7e0452a40a74a192e.zip
tpm: Remove main TPM header from TPM event log header
Allow the TPM event log functionality to be used without including the main TPM driver definitions. Signed-off-by: Alec Brown <alec.r.brown@oracle.com> 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 'include')
-rw-r--r--include/linux/tpm_eventlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tpm_eventlog.h b/include/linux/tpm_eventlog.h
index aff8ea2fa98e..40fe92eb7deb 100644
--- a/include/linux/tpm_eventlog.h
+++ b/include/linux/tpm_eventlog.h
@@ -3,7 +3,7 @@
#ifndef __LINUX_TPM_EVENTLOG_H__
#define __LINUX_TPM_EVENTLOG_H__
-#include <linux/tpm.h>
+#include <linux/tpm_command.h>
#define TCG_EVENT_NAME_LEN_MAX 255
#define MAX_TEXT_EVENT 1000 /* Max event string length */