hdata/i2c: add __packed to the host_i2c_hdr structure
This adds __packed to the host_i2c_hdr structure since it defines an
offset that refers to the beginning of the structure.
Fixes:
@@ -152,7 +152,7 @@ static bool is_zeros(const void *p, size_t size)
struct host_i2c_hdr {
const struct HDIF_array_hdr hdr;
__be32 version;
-};
+} __packed;
int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index,
struct dt_node *xscom)
