ACPICA: acpi_pci_routing_table: Replace fixed-size array with flex array member
[linux-2.6-microblaze.git] / include / acpi / acrestyp.h
index bfba293..87d58af 100644 (file)
@@ -693,7 +693,10 @@ struct acpi_pci_routing_table {
        u32 pin;
        u64 address;            /* here for 64-bit alignment */
        u32 source_index;
-       char source[4];         /* pad to 64 bits so sizeof() works in all cases */
+       union {
+               char pad[4];    /* pad to 64 bits so sizeof() works in all cases */
+                ACPI_FLEX_ARRAY(char, source);
+       };
 };
 
 #endif                         /* __ACRESTYP_H__ */