- patches.arch/x86_mce_intel_decode_physical_address.patch:
[linux-flexiantxendom0-3.2.10.git] / drivers / char / tpm / tpm.h
index fb63025..8e00b4d 100644 (file)
@@ -108,9 +108,6 @@ struct tpm_chip {
        struct dentry **bios_dir;
 
        struct list_head list;
-#ifdef CONFIG_XEN
-       void *priv;
-#endif
        void (*release) (struct device *);
 };
 
@@ -269,18 +266,6 @@ struct tpm_cmd_t {
 
 ssize_t        tpm_getcap(struct device *, __be32, cap_t *, const char *);
 
-#ifdef CONFIG_XEN
-static inline void *chip_get_private(const struct tpm_chip *chip)
-{
-       return chip->priv;
-}
-
-static inline void chip_set_private(struct tpm_chip *chip, void *priv)
-{
-       chip->priv = priv;
-}
-#endif
-
 extern void tpm_get_timeouts(struct tpm_chip *);
 extern void tpm_gen_interrupt(struct tpm_chip *);
 extern void tpm_continue_selftest(struct tpm_chip *);