
10 Mar
2020
10 Mar
'20
10:17 a.m.
Hi Simon,
-----"Simon Glass" sjg@chromium.org 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 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
Changes in v2: None
include/acpi_table.h | 4 ++++ include/dm/acpi.h | 4 ++++ scripts/Makefile.lib | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-)
Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com