diff options
author | Thiebaud Weksteen <tweek@google.com> | 2018-04-12 12:13:50 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-05-09 14:45:46 +0300 |
commit | 75d647f5de69fab9908039991260cc32a7074edc (patch) | |
tree | 08f2266f09929cc383afccb93d8bcdc68584d7a5 /drivers/char/tpm/eventlog/tpm2.c | |
parent | 9b01b53566298812cb38a2e72d034ac8131c20d6 (diff) |
tpm: Move eventlog declarations to its own header
Reduce the size of tpm.h by moving eventlog declarations to a separate
header.
Signed-off-by: Thiebaud Weksteen <tweek@google.com>
Suggested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm/eventlog/tpm2.c')
-rw-r--r-- | drivers/char/tpm/eventlog/tpm2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/eventlog/tpm2.c b/drivers/char/tpm/eventlog/tpm2.c index f0723fa9ae14..1b8fa9de2cac 100644 --- a/drivers/char/tpm/eventlog/tpm2.c +++ b/drivers/char/tpm/eventlog/tpm2.c @@ -24,6 +24,7 @@ #include <linux/tpm_eventlog.h> #include "../tpm.h" +#include "common.h" /* * calc_tpm2_event_size() - calculate the event size, where event |