aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorKylene Hall <kjhall@us.ibm.com>2005-06-23 22:02:02 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 00:05:26 -0700
commitd9e5b6bf9cf19e6e9f2825228136ea17bc9a051a (patch)
tree4261c5ec342c9cdd56b214a9f1eb4c4b83465733 /drivers/char/tpm/tpm.h
parent6659ca2ab6730c3bbb9fa495f2327b95b955decd (diff)
downloadlinux-d9e5b6bf9cf19e6e9f2825228136ea17bc9a051a.tar.gz
[PATCH] tpm: add cancel function
This patch provides the logic to check if an operation has been canceled while waiting for the response to arrive. Signed-off-by: Kylene Hall <kjhall@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r--drivers/char/tpm/tpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index a3ff4dc5bdb3b..714cb16b32cb8 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -49,6 +49,7 @@ struct tpm_chip;
struct tpm_vendor_specific {
u8 req_complete_mask;
u8 req_complete_val;
+ u8 req_canceled;
u16 base; /* TPM base address */
int (*recv) (struct tpm_chip *, u8 *, size_t);