
+Simon,
On Tue, Jul 25, 2023 at 9:30 AM Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
The pci_mmc.c driver can generate ACPI info and therefore includes asm/acpi_table.h. This file does not exist for the RISC-V architecture and thus code compilation fails when using this driver on RISC-V
Which header file includes the <asm/acpi_table.h> in pci_mmc.c?
I feel like we should fix the header file dependency of the driver, not by adding a dummy file for random architecture.
Create an empty include file.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
arch/riscv/include/asm/acpi_table.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 arch/riscv/include/asm/acpi_table.h
diff --git a/arch/riscv/include/asm/acpi_table.h b/arch/riscv/include/asm/acpi_table.h new file mode 100644 index 0000000000..e69de29bb2 --
Regards, Bin