diff --git a/src/ec/hp/kbc1126/ecfw_ptr.h b/src/ec/hp/kbc1126/ecfw_ptr.h index acf54f20dd..80f980d23a 100644 --- a/src/ec/hp/kbc1126/ecfw_ptr.h +++ b/src/ec/hp/kbc1126/ecfw_ptr.h @@ -5,14 +5,14 @@ #include -struct __attribute__((__packed__)) ecfw_addr { +struct __packed ecfw_addr { /* 8-byte offset of firmware blob in big endian */ uint16_t off; /* bitwise inverse of "off", for error checking */ uint16_t inv; }; -struct __attribute__((__packed__)) ecfw_ptr { +struct __packed ecfw_ptr { struct ecfw_addr fw1; struct ecfw_addr fw2; };