summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm_of.c
diff options
context:
space:
mode:
authorThiebaud Weksteen <tweek@google.com>2017-09-20 11:13:36 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-01-08 13:58:34 +0300
commitfd3ec3663718e5f89fbcbc18a67885203fd914a1 (patch)
tree7da04714e61c1e1b2c5c9aa866fce2e21c71a12f /drivers/char/tpm/tpm_of.c
parent5ef924d9e2e81e55c6aec056449a269409e15f21 (diff)
downloadlinux-fd3ec3663718e5f89fbcbc18a67885203fd914a1.tar.xz
tpm: move tpm_eventlog.h outside of drivers folder
The generic definitions of data structures in tpm_eventlog.h are required by other part of the kernel (namely, the EFI stub). Signed-off-by: Thiebaud Weksteen <tweek@google.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/tpm_of.c')
-rw-r--r--drivers/char/tpm/tpm_of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_of.c
index aadb7f464076..4a2f8c79231e 100644
--- a/drivers/char/tpm/tpm_of.c
+++ b/drivers/char/tpm/tpm_of.c
@@ -17,9 +17,9 @@
#include <linux/slab.h>
#include <linux/of.h>
+#include <linux/tpm_eventlog.h>
#include "tpm.h"
-#include "tpm_eventlog.h"
int tpm_read_log_of(struct tpm_chip *chip)
{