tpm: drop the field 'time_expired' from struct tpm_chip
[cascardo/linux.git] / drivers / char / tpm / tpm.h
index 928b47f..7317bec 100644 (file)
@@ -132,13 +132,9 @@ struct tpm_chip;
 
 struct tpm_vendor_specific {
        void __iomem *iobase;           /* ioremapped address */
-       unsigned long base;             /* TPM base address */
 
        int irq;
 
-       int region_size;
-       int have_region;
-
        struct list_head list;
        int locality;
        unsigned long timeout_a, timeout_b, timeout_c, timeout_d; /* jiffies */
@@ -148,9 +144,6 @@ struct tpm_vendor_specific {
        void *priv;
 
        wait_queue_head_t read_queue;
-       wait_queue_head_t int_queue;
-
-       u16 manufacturer_id;
 };
 
 #define TPM_VPRIV(c)     ((c)->vendor.priv)
@@ -181,7 +174,6 @@ struct tpm_chip {
 
        int dev_num;            /* /dev/tpm# */
        unsigned long is_open;  /* only one allowed */
-       int time_expired;
 
        struct mutex tpm_mutex; /* tpm is processing */