Antwort: [PATCH v2 16/39] acpi: Add an __ACPI__ preprocessor symbol

2020-03-10 Thread Wolfgang Wallner
Hi Simon, > -"Simon Glass" schrieb: - > > The ASL compiler cannot handle C structures and the like so needs some > sort of header guard around these. > > We already have an __ASSEMBLY__ #define but it seems best to create a new > one for ACPI since the rules may be different. > > Add t

[PATCH v2 16/39] acpi: Add an __ACPI__ preprocessor symbol

2020-03-08 Thread Simon Glass
The ASL compiler cannot handle C structures and the like so needs some sort of header guard around these. We already have an __ASSEMBLY__ #define but it seems best to create a new one for ACPI since the rules may be different. Add the check to a few files that ACPI always includes. Signed-off-by