From: Bin Meng Date: Wed, 18 Jul 2018 21:42:17 -0700 Subject: [U-Boot] [PATCH v2 3/3] x86: acpi: Prevent acpi_table.h from being included more than once In-Reply-To: <1531975337-27592-1-git-send-email-bmeng.cn@gmail.com> References: <1531975337-27592-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1531975337-27592-3-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The wrapper #ifndef is currently missing in acpi_table.h. Add it to prevent it from being included multiple times. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/include/asm/acpi_table.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/include/asm/acpi_table.h b/arch/x86/include/asm/acpi_table.h index dd516df..95fae03 100644 --- a/arch/x86/include/asm/acpi_table.h +++ b/arch/x86/include/asm/acpi_table.h @@ -6,6 +6,9 @@ * Copyright (C) 2016, Bin Meng */ +#ifndef __ASM_ACPI_TABLE_H__ +#define __ASM_ACPI_TABLE_H__ + #define RSDP_SIG "RSD PTR " /* RSDP pointer signature */ #define OEM_ID "U-BOOT" /* U-Boot */ #define OEM_TABLE_ID "U-BOOTBL" /* U-Boot Table */ @@ -327,3 +330,5 @@ ulong write_acpi_tables(ulong start); * @return: ACPI RSDP table address */ ulong acpi_get_rsdp_addr(void); + +#endif /* __ASM_ACPI_TABLE_H__ */ -- 2.7.4