diff options
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 4f005345bf37..1d28485b8fb3 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -63,6 +63,7 @@ struct tpm_vendor_specific { | |||
63 | u8 (*status) (struct tpm_chip *); | 63 | u8 (*status) (struct tpm_chip *); |
64 | struct miscdevice miscdev; | 64 | struct miscdevice miscdev; |
65 | struct attribute_group *attr_group; | 65 | struct attribute_group *attr_group; |
66 | u32 duration[3]; | ||
66 | }; | 67 | }; |
67 | 68 | ||
68 | struct tpm_chip { | 69 | struct tpm_chip { |
@@ -100,6 +101,7 @@ static inline void tpm_write_index(int base, int index, int value) | |||
100 | outb(value & 0xFF, base+1); | 101 | outb(value & 0xFF, base+1); |
101 | } | 102 | } |
102 | 103 | ||
104 | extern unsigned long tpm_calc_ordinal_duration(struct tpm_chip *, u32); | ||
103 | extern struct tpm_chip* tpm_register_hardware(struct device *, | 105 | extern struct tpm_chip* tpm_register_hardware(struct device *, |
104 | const struct tpm_vendor_specific *); | 106 | const struct tpm_vendor_specific *); |
105 | extern int tpm_open(struct inode *, struct file *); | 107 | extern int tpm_open(struct inode *, struct file *); |