aboutsummaryrefslogtreecommitdiffstats
path: root/usbblaster_spi.c
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.com>2019-11-05 17:47:43 +0300
committerNico Huber <nico.h@gmx.de>2019-11-14 22:47:32 +0000
commit83c56b870bcf0d241993813b9f695c2118532f7a (patch)
tree81af4dcd1d8c6b94343b8b230e18a6f802e47382 /usbblaster_spi.c
parent93737bcaf5e9c54501eb411b84c3b32e2dff944a (diff)
downloadflashrom-83c56b870bcf0d241993813b9f695c2118532f7a.tar.gz
flashrom-83c56b870bcf0d241993813b9f695c2118532f7a.tar.bz2
flashrom-83c56b870bcf0d241993813b9f695c2118532f7a.zip
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>
Diffstat (limited to 'usbblaster_spi.c')
-rw-r--r--usbblaster_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbblaster_spi.c b/usbblaster_spi.c
index d6b50840..e2a0a4f2 100644
--- a/usbblaster_spi.c
+++ b/usbblaster_spi.c
@@ -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;