aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass2020-09-22 12:45:30 -0600
committerBin Meng2020-09-25 11:27:22 +0800
commit26c3d3d7d598ec3421cf0573df0c0d159d6183c0 (patch)
treec741aef138265e2c41670b164c0c0ff2f0a6e70d /arch
parent3a25073a40e0351375c2784c1cdc2a2b327bb4c3 (diff)
x86: Add a header guard to asm/acpi_table.h
This file cannot currently be included in ASL files. Add a header guard to permit this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/acpi_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/acpi_table.h b/arch/x86/include/asm/acpi_table.h
index faf31730730..1b49ccadc0c 100644
--- a/arch/x86/include/asm/acpi_table.h
+++ b/arch/x86/include/asm/acpi_table.h
@@ -9,6 +9,8 @@
#ifndef __ASM_ACPI_TABLE_H__
#define __ASM_ACPI_TABLE_H__
+#ifndef __ACPI__
+
struct acpi_facs;
struct acpi_fadt;
struct acpi_global_nvs;
@@ -213,4 +215,6 @@ void acpi_fadt_common(struct acpi_fadt *fadt, struct acpi_facs *facs,
*/
void intel_acpi_fill_fadt(struct acpi_fadt *fadt);
+#endif /* !__ACPI__ */
+
#endif /* __ASM_ACPI_TABLE_H__ */