summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorAshley Lai <adlai@linux.vnet.ibm.com>2012-08-14 18:35:32 -0500
committerKent Yoder <key@linux.vnet.ibm.com>2012-08-22 16:22:47 -0500
commitc5df39262dd59dbbffb1017fca0f1661408ac9d5 (patch)
tree80548294fa8b0c6f7581bbbadc511badeccaa42d /drivers/char/tpm/tpm.h
parent4a727429abec31c4f5d9607cebb4fb1cc21e1167 (diff)
drivers/char/tpm: Add securityfs support for event log
This patch retrieves the event log data from the device tree during file open. The event log data will then displayed through securityfs. Signed-off-by: Ashley Lai <adlai@us.ibm.com> Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r--drivers/char/tpm/tpm.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 870fde7459c5..f1af73821101 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -327,15 +327,3 @@ extern int tpm_pm_suspend(struct device *);
extern int tpm_pm_resume(struct device *);
extern int wait_for_tpm_stat(struct tpm_chip *, u8, unsigned long,
wait_queue_head_t *);
-#ifdef CONFIG_ACPI
-extern struct dentry ** tpm_bios_log_setup(char *);
-extern void tpm_bios_log_teardown(struct dentry **);
-#else
-static inline struct dentry ** tpm_bios_log_setup(char *name)
-{
- return NULL;
-}
-static inline void tpm_bios_log_teardown(struct dentry **dir)
-{
-}
-#endif