1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

Fix building with GCC 4.9

It doesn't like empty initializers.

Change-Id: If2988e60401155f87ee3369c77f00ccf9332012c
Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/36629
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Evgeny Zinoviev 2019-11-05 17:47:43 +03:00 committed by Nico Huber
parent 93737bcaf5
commit 83c56b870b
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -26,7 +26,7 @@ static uint8_t *it8212_bar = NULL;
const struct dev_entry devs_it8212[] = {
{PCI_VENDOR_ID_ITE, 0x8212, NT, "ITE", "8212F PATA RAID"},
{},
{0},
};
#define IT8212_MEMMAP_SIZE (128 * 1024)

View File

@ -49,7 +49,7 @@
const struct dev_entry devs_pickit2_spi[] = {
{0x04D8, 0x0033, OK, "Microchip", "PICkit 2"},
{}
{0}
};
static libusb_device_handle *pickit2_handle;

View File

@ -48,7 +48,7 @@
const struct dev_entry devs_usbblasterspi[] = {
{ALTERA_VID, ALTERA_USBBLASTER_PID, OK, "Altera", "USB-Blaster"},
{}
{0}
};
static const struct spi_master spi_master_usbblaster;