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 d15ccddc92eb..e885148b4cfb 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -74,6 +74,7 @@ struct tpm_vendor_specific { | |||
74 | int (*send) (struct tpm_chip *, u8 *, size_t); | 74 | int (*send) (struct tpm_chip *, u8 *, size_t); |
75 | void (*cancel) (struct tpm_chip *); | 75 | void (*cancel) (struct tpm_chip *); |
76 | u8 (*status) (struct tpm_chip *); | 76 | u8 (*status) (struct tpm_chip *); |
77 | void (*release) (struct device *); | ||
77 | struct miscdevice miscdev; | 78 | struct miscdevice miscdev; |
78 | struct attribute_group *attr_group; | 79 | struct attribute_group *attr_group; |
79 | struct list_head list; | 80 | struct list_head list; |
@@ -106,6 +107,7 @@ struct tpm_chip { | |||
106 | struct dentry **bios_dir; | 107 | struct dentry **bios_dir; |
107 | 108 | ||
108 | struct list_head list; | 109 | struct list_head list; |
110 | void (*release) (struct device *); | ||
109 | }; | 111 | }; |
110 | 112 | ||
111 | #define to_tpm_chip(n) container_of(n, struct tpm_chip, vendor) | 113 | #define to_tpm_chip(n) container_of(n, struct tpm_chip, vendor) |