commit | 4969d21d8974a6564634d3ce44f230e56ae763d9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Apr 08 16:57:37 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Apr 16 14:36:28 2020 +0800 |
tree | 788472aaf2503f56d42dddbe5a9e0470dce5a4c3 | |
parent | 858fed13b72df2c53b8e0a5e820e9be7ac027279 [diff] |
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>