diff --git a/arch/x86/include/asm/acpi_table.h b/arch/x86/include/asm/acpi_table.h index 1f2076753c..17b92a41fa 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__ + /* These can be used by the target port */ void acpi_fill_header(struct acpi_table_header *header, char *signature); @@ -51,4 +53,6 @@ int arch_write_sci_irq_select(uint scis); int arch_madt_sci_irq_polarity(int sci); struct acpi_cstate *arch_get_cstate_map(size_t *entries); +#endif /* !__ACPI__ */ + #endif /* __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 at chromium.org> --- arch/x86/include/asm/acpi_table.h | 4 ++++ 1 file changed, 4 insertions(+)