projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: sa11x0: Replace zero-length array with flexible-array member
[linux-2.6-microblaze.git]
/
drivers
/
dma
/
sa11x0-dma.c
diff --git
a/drivers/dma/sa11x0-dma.c
b/drivers/dma/sa11x0-dma.c
index
afb6805
..
0fa7f14
100644
(file)
--- a/
drivers/dma/sa11x0-dma.c
+++ b/
drivers/dma/sa11x0-dma.c
@@
-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;