summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tpm/tpm-dev.h')
-rw-r--r--drivers/char/tpm/tpm-dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm-dev.h b/drivers/char/tpm/tpm-dev.h
index ba3b6f9dacf7..b24cfb4d3ee1 100644
--- a/drivers/char/tpm/tpm-dev.h
+++ b/drivers/char/tpm/tpm-dev.h
@@ -8,7 +8,7 @@ struct file_priv {
struct tpm_chip *chip;
/* Data passed to and from the tpm via the read/write calls */
- atomic_t data_pending;
+ size_t data_pending;
struct mutex buffer_mutex;
struct timer_list user_read_timer; /* user needs to claim result */