diff options
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-09-16 17:39:40 (GMT) |
---|---|---|
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-11-16 11:44:55 (GMT) |
commit | fd04886660208ab2e35baaca55588afa57d52c9c (patch) | |
tree | 200fd2b5a472317472f36cd452f60b1e5b42874f /drivers/char/tpm/tpm.h | |
parent | 9efa54f002cc03fdb4e9d8d508aa996af01c48d0 (diff) | |
download | linux-fd04886660208ab2e35baaca55588afa57d52c9c.tar.xz |
TPM: Export wait_for_stat for other vendor specific drivers
Moved wait_for_stat to tpm.c so that other drivers can use it.
Also renamed it to avoid future namespace conflicts.
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index e264de1..9deb65c 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -296,7 +296,8 @@ extern ssize_t tpm_read(struct file *, char __user *, size_t, loff_t *); extern void tpm_remove_hardware(struct device *); extern int tpm_pm_suspend(struct device *, pm_message_t); 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 **); |