Skip to content
Commit 89c2798f authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarWolfgang Wallner <wolfgang.wallner@br-automation.com>
parent 776cc201
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment