dmaengine: sa11x0: Replace zero-length array with flexible-array member
[linux-2.6-microblaze.git] / drivers / dma / sa11x0-dma.c
index afb6805..0fa7f14 100644 (file)
@@ -78,7 +78,7 @@ struct sa11x0_dma_desc {
        bool                    cyclic;
 
        unsigned                sglen;
-       struct sa11x0_dma_sg    sg[0];
+       struct sa11x0_dma_sg    sg[];
 };
 
 struct sa11x0_dma_phy;