summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_ibmvtpm.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-14 23:28:32 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-14 23:28:32 +0200
commit4b2f8838479eb2abe042e094f7d2cced6d5ea772 (patch)
tree5ef3236b354a494c8d71a572896283e44989c696 /drivers/char/tpm/tpm_ibmvtpm.h
parentMerge branches 'misc', 'vdso' and 'fixes' into for-next (diff)
parentARM: pmu: add support for interrupt-affinity property (diff)
downloadlinux-4b2f8838479eb2abe042e094f7d2cced6d5ea772.tar.xz
linux-4b2f8838479eb2abe042e094f7d2cced6d5ea772.zip
Merge branch 'devel-stable' into for-next
Diffstat (limited to 'drivers/char/tpm/tpm_ibmvtpm.h')
-rw-r--r--drivers/char/tpm/tpm_ibmvtpm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/tpm/tpm_ibmvtpm.h b/drivers/char/tpm/tpm_ibmvtpm.h
index f595f14426bf..6af92890518f 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.h
+++ b/drivers/char/tpm/tpm_ibmvtpm.h
@@ -22,9 +22,9 @@
struct ibmvtpm_crq {
u8 valid;
u8 msg;
- u16 len;
- u32 data;
- u64 reserved;
+ __be16 len;
+ __be32 data;
+ __be64 reserved;
} __attribute__((packed, aligned(8)));
struct ibmvtpm_crq_queue {