greybus: add proper packing to all greybus message types
diff --git a/drivers/staging/greybus/greybus_desc.h b/drivers/staging/greybus/greybus_desc.h
index 0fd7230..592b651 100644
--- a/drivers/staging/greybus/greybus_desc.h
+++ b/drivers/staging/greybus/greybus_desc.h
@@ -10,6 +10,8 @@
#ifndef __GREYBUS_DESC_H
#define __GREYBUS_DESC_H
+#pragma pack(push, 1)
+
struct greybus_descriptor_block_header {
__le16 size;
__u8 version_major;
@@ -92,4 +94,6 @@
};
};
+#pragma pack(pop)
+
#endif /* __GREYBUS_DESC_H */