[PATCH v2 2/3] acpi: Add missing ARM acpi_table header

Harm Berntsen harm.berntsen at nedap.com
Fri Nov 6 13:24:17 CET 2020


The pci_mmc.c driver can generate ACPI info and therefore includes
asm/acpi_table.h by proxy. This file does not exist for the ARM
architecture and thus code compilation failed when using this 
driver on ARM.

Signed-off-by: Harm Berntsen <harm.berntsen at nedap.com>
CC: Simon Glass <sjg at chromium.org>
---
Changes for v2:
Different approach, the previous commit (acpi: Only include asm header
when available) used ifdefs to conditionally include acpi_table.h.
Based on Simon's suggestion this patch adds an empty file to fix the
issue.

 arch/arm/include/asm/acpi_table.h | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/asm/acpi_table.h

diff --git a/arch/arm/include/asm/acpi_table.h
b/arch/arm/include/asm/acpi_table.h
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.29.2



More information about the U-Boot mailing list