Simon Glass 89c2798f1f acpi: Add an __ACPI__ preprocessor symbol
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
2020-04-16 14:36:28 +08:00
..
2018-08-03 19:53:54 -04:00
2017-07-06 16:17:19 -04:00
2017-11-20 20:18:38 -05:00
2018-05-23 22:06:41 -04:00
2014-11-12 13:25:42 -05:00
2018-08-03 19:53:54 -04:00
2014-11-12 13:25:42 -05:00