From 83c56b870bcf0d241993813b9f695c2118532f7a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 5 Nov 2019 17:47:43 +0300 Subject: Fix building with GCC 4.9 It doesn't like empty initializers. Change-Id: If2988e60401155f87ee3369c77f00ccf9332012c Signed-off-by: Evgeny Zinoviev Reviewed-on: https://review.coreboot.org/c/flashrom/+/36629 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- atavia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atavia.c') diff --git a/atavia.c b/atavia.c index 80bba58e..fdaaa74c 100644 --- a/atavia.c +++ b/atavia.c @@ -51,7 +51,7 @@ const struct dev_entry ata_via[] = { {PCI_VENDOR_ID_VIA, 0x3249, DEP, "VIA", "VT6421A"}, - {}, + {0}, }; static void atavia_chip_writeb(const struct flashctx *flash, uint8_t val, chipaddr addr); -- cgit v1.2.3