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
ACPICA: struct acpi_resource_dma: Replace 1-element array with flexible array
[linux-2.6-microblaze.git]
/
include
/
acpi
/
acrestyp.h
diff --git
a/include/acpi/acrestyp.h
b/include/acpi/acrestyp.h
index
77d7355
..
bfba293
100644
(file)
--- a/
include/acpi/acrestyp.h
+++ b/
include/acpi/acrestyp.h
@@
-150,7
+150,10
@@
struct acpi_resource_dma {
u8 bus_master;
u8 transfer;
u8 channel_count;
- u8 channels[1];
+ union {
+ u8 channel;
+ ACPI_FLEX_ARRAY(u8, channels);
+ };
};
struct acpi_resource_start_dependent {