summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/eventlog/of.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 13:45:46 +0200
commit75d647f5de69fab9908039991260cc32a7074edc (patch)
tree08f2266f09929cc383afccb93d8bcdc68584d7a5 /drivers/char/tpm/eventlog/of.c
parenttpm: Move shared eventlog functions to common.c (diff)
downloadlinux-75d647f5de69fab9908039991260cc32a7074edc.tar.xz
linux-75d647f5de69fab9908039991260cc32a7074edc.zip
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/of.c')
-rw-r--r--drivers/char/tpm/eventlog/of.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/eventlog/of.c b/drivers/char/tpm/eventlog/of.c
index e1ec532298f0..b7cac4794ed2 100644
--- a/drivers/char/tpm/eventlog/of.c
+++ b/drivers/char/tpm/eventlog/of.c
@@ -20,6 +20,7 @@
#include <linux/tpm_eventlog.h>
#include "../tpm.h"
+#include "common.h"
int tpm_read_log_of(struct tpm_chip *chip)
{