diff options
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r-- | drivers/char/tpm/tpm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 3a5af7e06624..a3ff4dc5bdb3 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -35,6 +35,14 @@ enum tpm_addr { | |||
35 | TPM_DATA = 0x4F | 35 | TPM_DATA = 0x4F |
36 | }; | 36 | }; |
37 | 37 | ||
38 | extern ssize_t tpm_show_pubek(struct device *, struct device_attribute *attr, | ||
39 | char *); | ||
40 | extern ssize_t tpm_show_pcrs(struct device *, struct device_attribute *attr, | ||
41 | char *); | ||
42 | extern ssize_t tpm_show_caps(struct device *, struct device_attribute *attr, | ||
43 | char *); | ||
44 | extern ssize_t tpm_store_cancel(struct device *, struct device_attribute *attr, | ||
45 | const char *, size_t); | ||
38 | 46 | ||
39 | struct tpm_chip; | 47 | struct tpm_chip; |
40 | 48 | ||
@@ -47,6 +55,7 @@ struct tpm_vendor_specific { | |||
47 | int (*send) (struct tpm_chip *, u8 *, size_t); | 55 | int (*send) (struct tpm_chip *, u8 *, size_t); |
48 | void (*cancel) (struct tpm_chip *); | 56 | void (*cancel) (struct tpm_chip *); |
49 | struct miscdevice miscdev; | 57 | struct miscdevice miscdev; |
58 | struct attribute_group *attr_group; | ||
50 | }; | 59 | }; |
51 | 60 | ||
52 | struct tpm_chip { | 61 | struct tpm_chip { |