summaryrefslogtreecommitdiffstats
path: root/drivers/dma/st_fdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/st_fdma.h')
-rw-r--r--drivers/dma/st_fdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/st_fdma.h b/drivers/dma/st_fdma.h
index fa15b97a3bab..f296412e96b6 100644
--- a/drivers/dma/st_fdma.h
+++ b/drivers/dma/st_fdma.h
@@ -97,7 +97,7 @@ struct st_fdma_desc {
struct st_fdma_chan *fchan;
bool iscyclic;
unsigned int n_nodes;
- struct st_fdma_sw_node node[];
+ struct st_fdma_sw_node node[] __counted_by(n_nodes);
};
enum st_fdma_type {