diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2011-11-11 21:57:02 +0400 |
---|---|---|
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-11-16 15:42:54 +0400 |
commit | 2b30a90f6c358714b9d6e628ac92e514917f93a1 (patch) | |
tree | d5fee00222aea732edd6760eb5fe78675e5dc2e2 /drivers/char/tpm/tpm.h | |
parent | e163bc8e4a0cd1cdffadb58253f7651201722d56 (diff) | |
download | linux-2b30a90f6c358714b9d6e628ac92e514917f93a1.tar.xz |
tpm: Have tpm_get_timeouts return an error code
Have the tpm_get_timeouts function return an error code.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 9c4163cfa3ce..4747b68c0c1b 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -279,7 +279,7 @@ struct tpm_cmd_t { ssize_t tpm_getcap(struct device *, __be32, cap_t *, const char *); -extern void tpm_get_timeouts(struct tpm_chip *); +extern int tpm_get_timeouts(struct tpm_chip *); extern void tpm_gen_interrupt(struct tpm_chip *); extern void tpm_continue_selftest(struct tpm_chip *); extern unsigned long tpm_calc_ordinal_duration(struct tpm_chip *, u32); |