diff options
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 159882ca69dd..fd3a4beaa53d 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -82,6 +82,8 @@ struct tpm_chip { | |||
82 | 82 | ||
83 | struct tpm_vendor_specific *vendor; | 83 | struct tpm_vendor_specific *vendor; |
84 | 84 | ||
85 | struct dentry **bios_dir; | ||
86 | |||
85 | struct list_head list; | 87 | struct list_head list; |
86 | }; | 88 | }; |
87 | 89 | ||
@@ -107,3 +109,16 @@ extern ssize_t tpm_read(struct file *, char __user *, size_t, loff_t *); | |||
107 | extern void tpm_remove_hardware(struct device *); | 109 | extern void tpm_remove_hardware(struct device *); |
108 | extern int tpm_pm_suspend(struct device *, pm_message_t); | 110 | extern int tpm_pm_suspend(struct device *, pm_message_t); |
109 | extern int tpm_pm_resume(struct device *); | 111 | extern int tpm_pm_resume(struct device *); |
112 | |||
113 | #ifdef CONFIG_ACPI | ||
114 | extern struct dentry ** tpm_bios_log_setup(char *); | ||
115 | extern void tpm_bios_log_teardown(struct dentry **); | ||
116 | #else | ||
117 | static inline struct dentry* tpm_bios_log_setup(char *name) | ||
118 | { | ||
119 | return NULL; | ||
120 | } | ||
121 | static inline void tpm_bios_log_teardown(struct dentry **dir) | ||
122 | { | ||
123 | } | ||
124 | #endif | ||