ACPICA: struct acpi_resource_dma: Replace 1-element array with flexible array
[linux-2.6-microblaze.git] / include / acpi / acrestyp.h
index 77d7355..bfba293 100644 (file)
@@ -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 {