diff options
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2008-10-11 00:04:02 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-10-11 00:04:02 +0200 |
commit | dc36d32cc5bea5e985294c79995e10a159c3019a (patch) | |
tree | 0eb2fb1c0127cab4275a70ef1b22fc3f22fe716a /drivers/char/tpm/tpm.h | |
parent | Remove the BKL calls from the TPM driver, which were added in the overall (diff) | |
download | linux-dc36d32cc5bea5e985294c79995e10a159c3019a.tar.xz linux-dc36d32cc5bea5e985294c79995e10a159c3019a.zip |
Renames num_open to is_open, as only one process can open the file at a time.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: "Serge E. Hallyn" <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
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 e885148b4cfb..2756cab9aee3 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -90,7 +90,7 @@ struct tpm_chip { struct device *dev; /* Device stuff */ int dev_num; /* /dev/tpm# */ - int num_opens; /* only one allowed */ + unsigned long is_open; /* only one allowed */ int time_expired; /* Data passed to and from the tpm via the read/write calls */ |