diff options
author | Thiebaud Weksteen <tweek@google.com> | 2017-09-20 10:13:36 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-01-08 12:58:34 +0200 |
commit | fd3ec3663718e5f89fbcbc18a67885203fd914a1 (patch) | |
tree | 7da04714e61c1e1b2c5c9aa866fce2e21c71a12f /drivers/char/tpm/tpm-chip.c | |
parent | 5ef924d9e2e81e55c6aec056449a269409e15f21 (diff) | |
download | linux-fd3ec3663718e5f89fbcbc18a67885203fd914a1.tar.gz linux-fd3ec3663718e5f89fbcbc18a67885203fd914a1.tar.bz2 linux-fd3ec3663718e5f89fbcbc18a67885203fd914a1.zip |
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-chip.c')
-rw-r--r-- | drivers/char/tpm/tpm-chip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm-chip.c b/drivers/char/tpm/tpm-chip.c index 0eca20c5a80c..a114e8f7fb90 100644 --- a/drivers/char/tpm/tpm-chip.c +++ b/drivers/char/tpm/tpm-chip.c @@ -26,8 +26,9 @@ #include <linux/spinlock.h> #include <linux/freezer.h> #include <linux/major.h> +#include <linux/tpm_eventlog.h> + #include "tpm.h" -#include "tpm_eventlog.h" DEFINE_IDR(dev_nums_idr); static DEFINE_MUTEX(idr_lock); |