diff options
author | Ashley Lai <adlai@linux.vnet.ibm.com> | 2012-08-14 23:35:32 (GMT) |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2012-08-22 21:22:47 (GMT) |
commit | c5df39262dd59dbbffb1017fca0f1661408ac9d5 (patch) | |
tree | 80548294fa8b0c6f7581bbbadc511badeccaa42d /drivers/char/tpm/tpm.h | |
parent | 4a727429abec31c4f5d9607cebb4fb1cc21e1167 (diff) | |
download | linux-c5df39262dd59dbbffb1017fca0f1661408ac9d5.tar.xz |
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.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 870fde7..f1af738 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 |