summaryrefslogtreecommitdiffstats
path: root/drivers/dma/uniphier-mdmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/uniphier-mdmac.c')
-rw-r--r--drivers/dma/uniphier-mdmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/uniphier-mdmac.c b/drivers/dma/uniphier-mdmac.c
index 21b8f1131d55..618839df0748 100644
--- a/drivers/dma/uniphier-mdmac.c
+++ b/drivers/dma/uniphier-mdmac.c
@@ -68,7 +68,7 @@ struct uniphier_mdmac_device {
struct dma_device ddev;
struct clk *clk;
void __iomem *reg_base;
- struct uniphier_mdmac_chan channels[0];
+ struct uniphier_mdmac_chan channels[];
};
static struct uniphier_mdmac_chan *