aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/soc_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/soc_dma.c')
-rw-r--r--hw/dma/soc_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/soc_dma.c b/hw/dma/soc_dma.c
index c3e41581b6..3a430057f5 100644
--- a/hw/dma/soc_dma.c
+++ b/hw/dma/soc_dma.c
@@ -80,7 +80,7 @@ struct dma_s {
} *memmap;
int memmap_size;
- struct soc_dma_ch_s ch[0];
+ struct soc_dma_ch_s ch[];
};
static void soc_dma_ch_schedule(struct soc_dma_ch_s *ch, int delay_bytes)