summaryrefslogtreecommitdiff
path: root/src/commonlib/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib/include')
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index e646b8bf53..e3e9468b1c 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -146,7 +146,7 @@ struct lb_memory_range {
struct lb_memory {
uint32_t tag;
uint32_t size;
- struct lb_memory_range map[0];
+ struct lb_memory_range map[];
};
struct lb_pcie {
@@ -168,13 +168,13 @@ struct lb_mainboard {
uint32_t size;
uint8_t vendor_idx;
uint8_t part_number_idx;
- uint8_t strings[0];
+ uint8_t strings[];
};
struct lb_string {
uint32_t tag;
uint32_t size;
- uint8_t string[0];
+ uint8_t string[];
};
struct lb_timestamp {
@@ -311,7 +311,7 @@ struct lb_gpios {
uint32_t size;
uint32_t count;
- struct lb_gpio gpios[0];
+ struct lb_gpio gpios[];
};
struct lb_range {
@@ -357,7 +357,7 @@ struct lb_spi_flash {
*/
uint32_t mmap_count;
- struct flash_mmap_window mmap_table[0];
+ struct flash_mmap_window mmap_table[];
};
struct lb_boot_media_params {
@@ -432,14 +432,14 @@ struct type_c_port_info {
struct type_c_info {
uint32_t port_count;
- struct type_c_port_info port_info[0];
+ struct type_c_port_info port_info[];
};
struct lb_macs {
uint32_t tag;
uint32_t size;
uint32_t count;
- struct mac_address mac_addrs[0];
+ struct mac_address mac_addrs[];
};
struct lb_board_config {