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.bernt...@nedap.com>
CC: Simon Glass <s...@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

Reply via email to