summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm.c
diff options
context:
space:
mode:
authorKent Yoder <key@linux.vnet.ibm.com>2012-07-11 19:08:12 +0400
committerKent Yoder <key@linux.vnet.ibm.com>2012-08-22 20:11:25 +0400
commite5dcd87fee12ed64a9ea911102025facc0c7d10c (patch)
tree039eb74daff281950e979c888ec9ec760939ad9d /drivers/char/tpm/tpm.c
parentaad628c1d91a6db57e572e4c1f35e863d81061d7 (diff)
downloadlinux-e5dcd87fee12ed64a9ea911102025facc0c7d10c.tar.xz
tpm: modularize event log collection
Break ACPI-specific pieces of the event log handling into their own file and create tpm_eventlog.[ch] to store common event log handling code. This will be required to integrate future event log sources on platforms without ACPI tables. Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm.c')
-rw-r--r--drivers/char/tpm/tpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
index 817f0ee202b6..677c6e26593f 100644
--- a/drivers/char/tpm/tpm.c
+++ b/drivers/char/tpm/tpm.c
@@ -30,6 +30,7 @@
#include <linux/freezer.h>
#include "tpm.h"
+#include "tpm_eventlog.h"
enum tpm_const {
TPM_MINOR = 224, /* officially assigned */