summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/eventlog/tpm1.c
diff options
context:
space:
mode:
authorThiebaud Weksteen <tweek@google.com>2018-04-12 12:13:50 +0200
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2018-05-09 14:45:46 +0300
commit75d647f5de69fab9908039991260cc32a7074edc (patch)
tree08f2266f09929cc383afccb93d8bcdc68584d7a5 /drivers/char/tpm/eventlog/tpm1.c
parent9b01b53566298812cb38a2e72d034ac8131c20d6 (diff)
downloadlinux-75d647f5de69fab9908039991260cc32a7074edc.tar.bz2
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/tpm1.c')
-rw-r--r--drivers/char/tpm/eventlog/tpm1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/eventlog/tpm1.c b/drivers/char/tpm/eventlog/tpm1.c
index 8f30316e9bb6..58c84784ba25 100644
--- a/drivers/char/tpm/eventlog/tpm1.c
+++ b/drivers/char/tpm/eventlog/tpm1.c
@@ -29,6 +29,7 @@
#include <linux/tpm_eventlog.h>
#include "../tpm.h"
+#include "common.h"
static const char* tcpa_event_type_strings[] = {